[issue3582] thread_nt.c update
Ulrich Eckhardt
report at bugs.python.org
Tue Jan 6 09:39:47 CET 2009
Ulrich Eckhardt <eckhardt at satorlaser.com> added the comment:
I do have an issue with the patch's startup code. The prototype for
the thread entry should be "DWORD WINAPI function(PVOID);". The
important distinction is the WINAPI part, which resolves to __stdcall
but doesn't have to. I know that some CE targets actually #define
__cdecl __stdcall or vice versa, but using WINAPI always works. I'd
then also change the comment to "...to adapt between our function
signature and the one used by _createthreadex", as the internally used
one doesn't mention __cdecl.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3582>
_______________________________________
More information about the Python-bugs-list
mailing list