]> granicus.if.org Git - gc/commit
Fix pthread_join when thread is registered in thread key destructor
authorIvan Maidanski <ivmai@mail.ru>
Tue, 26 Sep 2017 08:44:44 +0000 (11:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 3 Oct 2017 08:39:59 +0000 (11:39 +0300)
commitd3bdc0eb76fc41883c699cf54fdd918ba8ccb910
tree27ab04aa71825a91fe64f77a27e72d8f80891c58
parent7718db07a433a983323995b93c7abc8a0bf6b3d9
Fix pthread_join when thread is registered in thread key destructor
(Cherry-pick commit 874f2d1 from 'release-7_4' branch.)

* pthread_support.c (WRAP_FUNC(pthread_join)): Remove assertion that
thread is finished; call GC_delete_gc_thread only if thread is
finished; add comment.
* win32_threads.c [GC_PTHREADS] (GC_pthread_join): Call
GC_delete_gc_thread only if thread is finished.
pthread_support.c
win32_threads.c