Killing threads

Hal Murray hmurray at megapathdsl.net
Tue Sep 27 18:51:42 UTC 2016


man 7 signal has a long list of what you can do in a signal handler.  (all 
other system calls are unsafe)

Is there something similar that applies to killing threads?  If so, where is 
it documented?

For example, if I kill a thread that is in the middle of malloc, are things 
guaranteed to work correctly or can some global state be left in a broken 
condition.  (or a lock locked, or ...)


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list