pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal...
authorKeith Seitz <keiths@redhat.com>
Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)
committerKeith Seitz <kseitz@gcc.gnu.org>
Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)
commit7691d0d3c9d60eb732e71be4c7a100ef2bb2ef82
tree55fd808e47f53739af4e710b68299196cc64643e
parentc3238e32eb1c51e9cb8d75f5b3266bf3c831112f
pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged...

        * 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.

From-SVN: r114869
boehm-gc/ChangeLog
boehm-gc/include/gc.h
boehm-gc/include/private/pthread_support.h
boehm-gc/pthread_stop_world.c