]> granicus.if.org Git - gc/commit
Workaround TSan hang in GC_free_inner when called from at-fork handler
authorIvan Maidanski <ivmai@mail.ru>
Wed, 22 Nov 2017 23:19:30 +0000 (02:19 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 22 Nov 2017 23:19:30 +0000 (02:19 +0300)
commitd8e271ea8ab4477fc3ac8edb884bbf858d401343
tree7dc8f02e554cc64eaf6fb2ec745a8dfd0496089d
parent3a524692806bde17a7b668f96c0a687f653f3a21
Workaround TSan hang in GC_free_inner when called from at-fork handler

* pthread_support.c [CAN_HANDLE_FORK] (GC_remove_all_threads_but_me):
Do not call GC_INTERNAL_FREE(p) if THREAD_SANITIZER; add comment.
pthread_support.c