bug-ncurses
[Top][All Lists]
Advanced

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

Re: signals interrupting wgetch


From: Marcin 'Qrczak' Kowalczyk
Subject: Re: signals interrupting wgetch
Date: Fri, 22 Jul 2005 19:34:20 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

John Gruenenfelder <address@hidden> writes:

> Unfortunately, there is no way to tell a single thread to ignore a
> particular signal.

There is: pthread_sigmask.

When a signal is sent to the whole process, an unspecified thread
which has this signal unblocked handles it. This is how it should work
according to POSIX and I think it's how it works with NPTL. It was
broken on Linux 2.4.

-- 
   __("<         Marcin Kowalczyk
   \__/       address@hidden
    ^^     http://qrnik.knm.org.pl/~qrczak/




reply via email to

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