Fix GC_remove_all_threads_but_me for fork-unfriendly TLS implementations
authorIvan Maidanski <ivmai@mail.ru>
Sun, 26 Feb 2012 15:36:11 +0000 (19:36 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 26 Feb 2012 15:36:11 +0000 (19:36 +0400)
commit8bf44e780f4ed98835c049d5269886bb62179c15
tree722c52c21e5fc2c009abf487e529e6a91b79f45e
parent0dabb3d2e5dff0d68e679a5d9fd294e6ed63046b
Fix GC_remove_all_threads_but_me for fork-unfriendly TLS implementations

* pthread_support.c (GC_remove_all_threads_but_me): Refine comment for
stop_info.mach_thread update.
* pthread_support.c (GC_remove_all_threads_but_me): Call
GC_setspecific (if THREAD_LOCAL_ALLOC) to re-assign thread-local
pointer to 'tlfs' (identified by GC_thread_key) of the current thread
(except for USE_CUSTOM_SPECIFIC).
pthread_support.c