]> granicus.if.org Git - gc/commit
2010-09-30 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Thu, 30 Sep 2010 06:05:44 +0000 (06:05 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:55 +0000 (21:06 +0400)
commit0563224f6bb7401823f126f82aeb6ef95765d4b3
treee4cf073a9ca67d616ddad756b4c2d19e39cc6381
parent8a8a9c682df1ec6dc5463e6a52a4d1d9ba8a2678
2010-09-30  Ivan Maidanski <ivmai@mail.ru>

* darwin_stop_world.c (GC_query_task_threads): New variable (or
macro).
* darwin_stop_world.c (GC_push_all_stacks): Use
GC_query_task_threads (to choose between algorithms based on
kernel task_threads and based on GC_threads table); update FIXME;
remove commented out GC_push_one statements.
* pthread_support.c (GC_thr_init, GC_do_blocking_inner,
GC_call_with_gc_active, GC_register_my_thread_inner): Initialize
stack_ptr field for all platforms.
* pthread_support.c (GC_call_with_gc_active): Initialize
saved_stack_ptr field for all platforms.
* include/private/darwin_stop_world.h (thread_stop_info): Add
stack_ptr field; change type of already_suspended from int to
GC_bool.
ChangeLog
darwin_stop_world.c
include/private/darwin_stop_world.h
pthread_support.c