diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -875,6 +875,9 @@ GC_API void GC_CALL GC_init(void) /* else */ InitializeCriticalSection (&GC_allocate_ml); } # endif /* GC_WIN32_THREADS */ +# if (defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS)) + GC_setup_mark_lock(); +# endif /* GC_PTHREADS */ # if (defined(MSWIN32) || defined(MSWINCE)) && defined(THREADS) InitializeCriticalSection(&GC_write_cs); # endif |