]> granicus.if.org Git - gc/commit
Remove GC_win32_dll_threads checking inside pthread-specific code
authorIvan Maidanski <ivmai@mail.ru>
Mon, 27 Feb 2012 17:30:22 +0000 (21:30 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 27 Feb 2012 17:30:22 +0000 (21:30 +0400)
commit8b46d84b78947adf225ac5fdf0cdffe805b9c762
treee874dbe069e88a90397cb7647b9e01d892958abc
parent0c6693ba824272c52f7210c0658b35976640c34b
Remove GC_win32_dll_threads checking inside pthread-specific code

* win32_threads.c (GC_unregister_my_thread): Remove check for
GC_PTHREADS inside GC_win32_dll_threads (since DllMain-based thread
registration is not supported for pthreads).
* win32_threads.c (GC_pthread_join, GC_pthread_create): Replace check
for non-GC_win32_dll_threads mode with the assertion; move local
variable declarations to function beginning.
win32_threads.c