YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes:

> Yes, pthread_mutex_(un)lock is not async-signal-safe.  But we are
> already using such functions as malloc in the signal handler context
> (with the help of BLOCK_INPUT).  I guess calling
> pthread_mutex_(un)lock in the signal handler context is safe in
> reality unless the interrupted thread is also executing
> pthread_mutex_(un)lock for the same mutex.

"I guess ... safe in reality unless ..."

Maybe I have been around programmers too long, but I don't find this
exactly reassuring.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to