Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 07:26:37 -0700 (PDT)
From:      Peter Steele <psteele@maxiscale.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        #freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Why would a kill -2 not work?
Message-ID:  <31829573.1061242743193573.JavaMail.HALO$@halo>
In-Reply-To: <45A2F58C-968F-47F7-90E3-1F84F0B122C9@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>The pthread_* calls you are making aren't listed as being safe to run 
>within the context of a signal handler, and could cause a thread 
>waiting on that condition to be unblocked and start running. Please 
>see earlier comments about mixing threads and signal handlers. 

Okay, fair enough. I'll rework our signal handler logic to avoid using any calls that are not considered signal-safe. Better to be "safe" than sorry... :-) 

Thanks for the feedback. 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31829573.1061242743193573.JavaMail.HALO$>