emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lockup


From: David Kastrup
Subject: Re: Lockup
Date: Fri, 11 Aug 2006 09:04:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]