diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-07-31 04:52:36 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2003-07-31 04:52:36 +0000 |
commit | 822ed7f80687ba1060f3620f20878642a2b89e78 (patch) | |
tree | 80c5f1f071b174114f7b403b765d7a05135d75f9 /boehm-gc/include | |
parent | 1aa0a5f67e3ce88116bff98bd677a8e93ec183e3 (diff) | |
download | gcc-822ed7f80687ba1060f3620f20878642a2b89e78.tar.gz |
gc.h (GC_CreateThread): Declare with WINAPI attribute.
* include/gc.h (GC_CreateThread): Declare with WINAPI
attribute.
* win32_threads.c (GC_CreateThread): Make definitions consistent
with declaration. Cast &thread_table[i].handle to PHANDLE
in call to DuplicateHandle
(thread_start): Declare as static.
From-SVN: r69990
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index d49cd9d60b1..4444e991ff3 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -895,7 +895,7 @@ extern void GC_thr_init(); /* Needed for Solaris/X86 */ * and does then use DllMain to keep track of thread creations. But new code * should be built to call GC_CreateThread. */ - GC_API HANDLE GC_CreateThread( + GC_API HANDLE WINAPI GC_CreateThread( LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId ); |