diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-05-15 08:12:30 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-05-15 11:13:03 +0300 |
commit | 18e5b12da8d638a4d567c2f888201a4fc86c9c64 (patch) | |
tree | b6b02623537da8c41223e5838f37bf418f72990a /alloc.c | |
parent | cd465f79c52aa887d2b65a1b26447179def228b6 (diff) | |
download | bdwgc-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