Fix double lock in pthread_detach (Cygwin, winpthreads)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 25 Sep 2017 22:12:30 +0000 (01:12 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Sep 2017 22:12:30 +0000 (01:12 +0300)
commitb785014a6f8d6d6afb3521fd235e125c43e6028b
treeb4bcd257e18ae1aa28dcaf1b240ea9e44a8cf464
parentf487f27c72ab054e8f9101c0696c24836a18eb9b
Fix double lock in pthread_detach (Cygwin, winpthreads)

* win32_threads.c [GC_PTHREADS] (GC_pthread_detach): Do not hold the
allocation lock when GC_lookup_pthread is invoked.
win32_threads.c