This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients amaury.forgeotdarc, eckhardt, kristjan.jonsson
Date 2009-01-06.09:03:50
SpamBayes Score 0.355262
Marked as misclassified No
Message-id <>
No, the startup function for beginthreadex() must be __stdcall.  From 
the docs:

Start address of a routine that begins execution of a new thread. For 
_beginthread, the calling convention is either __cdecl or __clrcall; 
for _beginthreadex, it is either __stdcall or __clrcall.

(__clrcall is for managed code which doesn't apply).

Do not confuse beginthreadex() with CreateThread even though they have 
similar arguments.  The former is for use with programs using the crt.

See for details.

Amaury, Where did you find the value 1088 for maximum TLS slots?  The 
documentation mentions the error condidion TLS_OUT_OF_INDEXES (which I 
should check for, I suppose), but nothing else.
Date User Action Args
2009-01-06 09:03:51kristjan.jonssonsetrecipients: + kristjan.jonsson, amaury.forgeotdarc, eckhardt
2009-01-06 09:03:51kristjan.jonssonsetmessageid: <>
2009-01-06 09:03:51kristjan.jonssonlinkissue3582 messages
2009-01-06 09:03:50kristjan.jonssoncreate