2011-05-10 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Tue, 10 May 2011 14:15:57 +0000 (14:15 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:58 +0000 (21:06 +0400)
commitff325b9a6bf206b951bc30beb12c96d8de2e6334
tree684ed74831a0ec9cb1c26af284c4f3d28c7962f3
parentec6effaa02f0fa4a35d6238bdb408226a3d4ab19
2011-05-10  Ivan Maidanski  <ivmai@mail.ru>

* pthread_start.c (GC_start_rtn_prepare_thread): Change return
type to GC_thread.
* pthread_start.c (GC_inner_start_routine): Pass the current
thread descriptor to pthread_cleanup_push (same as in
win32_threads.c).
* pthread_stop_world.c (GC_push_all_stacks): Rename "me" local
variable to "self".
* win32_threads.c (GC_push_all_stacks): Ditto.
* pthread_stop_world.c (GC_suspend_all, GC_start_world): Rename
"my_thread" local variable to "self".
* pthread_support.c (GC_unregister_my_thread_inner): New static
function.
* pthread_support.c (GC_unregister_my_thread,
GC_thread_exit_proc): Use GC_unregister_my_thread_inner.
* win32_threads.c (GC_register_my_thread, GC_unregister_my_thread,
GC_do_blocking_inner): Rename "t" local variable to "thread_id".
* win32_threads.c (GC_wait_marker, GC_notify_all_marker): Rename
"id" local variable to "thread_id".
ChangeLog
pthread_start.c
pthread_stop_world.c
pthread_support.c
win32_threads.c