gthread-win32: use __stdcall markers where needed
authorRyan Lortie <desrt@desrt.ca>
Mon, 19 Sep 2011 03:07:24 +0000 (23:07 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 21 Sep 2011 20:06:54 +0000 (16:06 -0400)
commite00bcfcdecbc25bf6e34492a328a855771ff08ef
treebbcda44717fe8b43e239a1b6ee63e96ea86bd636
parent835c9b75c8adb20f8a095a2bea486d59f16e72cc
gthread-win32: use __stdcall markers where needed

The "unknown reason" that the native thread implementation was broken is
because functions in kernel32.dll are (obviously) following Microsoft's
__stdcall ABI, not the GCC ABI.

Change our function pointers to be __stdcall pointers and change our
emulated implementation to match.
glib/gthread-win32.c