OSDN Git Service

* pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)
commit4026b9778b81cfd22bc8fa18c1e0d3beb32dbc8f
tree55fd808e47f53739af4e710b68299196cc64643e
parent7d3075f603f9e3ec6240cc87ff86d5ff84fc983f
    * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
        routine if signal is received and thread is flagged SUSPENDED.
        (suspend_self): New function.
        (GC_suspend_thread): New function.
        (GC_resume_thread): New function.
        * include/gc.h (GC_suspend_thread): Declare.
        (GC_resumet_thread): Declare.
        * include/private/pthread_support.h (SUSPENDED): New GC_thread
        flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114869 138bc75d-0d04-0410-961f-82ee72b054a4
boehm-gc/ChangeLog
boehm-gc/include/gc.h
boehm-gc/include/private/pthread_support.h
boehm-gc/pthread_stop_world.c