to thread the X server (?)
glynn at gclements.plus.com
Wed Jun 18 14:32:08 PDT 2008
Tiago Vignatti wrote:
> > This sounds interesting. I am not very experienced with thread
> > programming, but how does it handle signals? If I understand correctly,
> Signal handlers are shared between all threads. OTHO, we can set signal
> masks when a thread is created to independently handle a given signal.
ISTR that this doesn't work correctly with the older (pre-NPTL) Linux
implementation of pthreads. That selected a thread to receive the
signal without checking the signal mask; if it selected a thread which
had blocked the signal, the signal would be queued even if another
thread had the signal unblocked.
Glynn Clements <glynn at gclements.plus.com>
More information about the xorg