[Top][All Lists]

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

Re: console-client signal handling

From: Marco Gerards
Subject: Re: console-client signal handling
Date: Tue, 27 Jul 2004 15:53:48 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

> It's also questionable if you really want another thread to wait on a
> condition all the time.  OTOH, there probably is no suitable other
> thread.  So, if we need another thread, then that's ok.  But block
> signals for all other threads, and have that thread also handle the
> signals you want to catch.  That's best because then memory is already
> synchronized.  Having that thread sleep most of the time and check for the
Thinking of it, this must have caused the problems I had with
console_exit.  It is called from the pc_kbd driver's thread.
I will fix this as well as soon as someone can explain me how to block
signals for other threads...

reply via email to

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