893 |
|
|
894 |
#endif /* THREADS && !SRC_M3 */ |
#endif /* THREADS && !SRC_M3 */ |
895 |
|
|
896 |
#if defined(GC_WIN32_THREADS) && !defined(__CYGWIN32__) && !defined(__CYGWIN__) |
#if defined(GC_WIN32_THREADS) |
897 |
# include <windows.h> |
# include <windows.h> |
898 |
|
|
899 |
/* |
/* |
903 |
* and does then use DllMain to keep track of thread creations. But new code |
* and does then use DllMain to keep track of thread creations. But new code |
904 |
* should be built to call GC_CreateThread. |
* should be built to call GC_CreateThread. |
905 |
*/ |
*/ |
906 |
|
#if defined(__CYGWIN32__) || defined(__CYGWIN__) |
907 |
|
GC_API HANDLE GC_CreateThread( |
908 |
|
#else |
909 |
GC_API HANDLE WINAPI GC_CreateThread( |
GC_API HANDLE WINAPI GC_CreateThread( |
910 |
|
#endif |
911 |
LPSECURITY_ATTRIBUTES lpThreadAttributes, |
LPSECURITY_ATTRIBUTES lpThreadAttributes, |
912 |
DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, |
DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, |
913 |
LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId ); |
LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId ); |