Why would a kill -2 not work?

Peter Steele psteele at maxiscale.com
Tue May 19 14:26:43 UTC 2009


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



More information about the freebsd-questions mailing list