CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2012/07/11 02:45:21

Modified files:
        sys/sys        : proc.h 
        sys/kern       : kern_sig.c kern_exit.c 

Log message:
exit1(EXIT_THREAD) needs to call single_thread_check() so that it
can be suspended and/or decrement pr->ps_singlecount if necessary.
With that added, the call the other direction needs to use its own
flag (EXIT_THREAD_NOCHECK) to avoid looping.

problem diagnosed from a hang naddy@ hit; ok kettenis@

Reply via email to