summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-05-15 08:12:30 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-05-15 11:13:03 +0300
commit18e5b12da8d638a4d567c2f888201a4fc86c9c64 (patch)
treeb6b02623537da8c41223e5838f37bf418f72990a /alloc.c
parentcd465f79c52aa887d2b65a1b26447179def228b6 (diff)
downloadbdwgc-18e5b12da8d638a4d567c2f888201a4fc86c9c64.tar.gz
Clear GC_thread_key thread-local value on unregistering the thread
* pthread_support.c [THREAD_LOCAL_ALLOC] (GC_unregister_my_thread_inner): Move assertion to GC_destroy_thread_local(). * thread_local_alloc.c (GC_destroy_thread_local): Call GC_setspecific() to clear thread-local value associated with GC_thread_key.
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions