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

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

bug#9216: Signal handling and pthreads


From: Stefan Monnier
Subject: bug#9216: Signal handling and pthreads
Date: Tue, 02 Aug 2011 09:00:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> The usage of threads within libraries is an internal matter, so I think
> Emacs should be prepared for threads always when <pthread.h> is available.

That's also my impression.

> Are you thinking of sigwait?  Other than sigwait, there is no way to "set up
> our signal handlers so we don't need this", where this ==
> SIGNAL_THREAD_CHECK.

I was afraid so.

> SIGNAL_THREAD_CHECK is not unreliable.  It does not drop signals delivered
> to the wrong thread, it forwards them to the main thread.

Indeed, I had misread the code.


        Stefan





reply via email to

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