diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2011-11-15 20:29:45 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-11-15 20:29:45 +0400 |
commit | 96e603105856ffc538a9505df242e1823194e560 (patch) | |
tree | b9e40bf291c6d8caebc9d48c4c7b791f9a64ae65 /win32_threads.c | |
parent | fd9236f1329dfb977de983edd7f4c2200c94927b (diff) | |
download | bdwgc-96e603105856ffc538a9505df242e1823194e560.tar.gz |
Support GC_Create/ExitThread, GC_begin/endthreadex for Cygwin and
win32-pthread
* include/gc.h (GC_CreateThread, GC_ExitThread, GC_uintptr_t,
GC_beginthreadex, GC_endthreadex): Also declare (and redirect) for
GC_PTHREADS during GC build or if the client includes windows.h before
gc.h file; add a comment.
* win32_threads.c (thread_args, GC_win32_start_inner, GC_win32_start,
GC_CreateThread, GC_ExitThread, GC_beginthreadex, GC_endthreadex):
Also define for GC_PTHREADS.
Diffstat (limited to 'win32_threads.c')
-rw-r--r-- | win32_threads.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/win32_threads.c b/win32_threads.c index 8a401bc2..c9d4c0f2 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -2000,8 +2000,6 @@ GC_INNER void GC_get_next_stack(char *start, char *limit, #endif /* PARALLEL_MARK */ -#ifndef GC_PTHREADS - /* We have no DllMain to take care of new threads. Thus we */ /* must properly intercept thread creation. */ @@ -2155,8 +2153,6 @@ GC_INNER void GC_get_next_stack(char *start, char *limit, # endif /* !MSWINCE */ -#endif /* !GC_PTHREADS */ - #ifdef GC_WINMAIN_REDIRECT /* This might be useful on WinCE. Shouldn't be used with GC_DLL. */ |