NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44986: "screens" gets stuck during detach
The following reply was made to PR kern/44986; it has been noted by GNATS.
From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: kern/44986: "screens" gets stuck during detach
Date: Wed, 25 May 2011 21:44:48 +0100
On Tue, May 24, 2011 at 11:37:47AM -0400, Christos Zoulas wrote:
> On May 24, 2:17pm, tron%zhadum.org.uk@localhost (Matthias Scheler) wrote:
> -- Subject: Re: kern/44986: "screens" gets stuck during detach
>
> | On Tue, May 24, 2011 at 08:42:11AM -0400, Christos Zoulas wrote:
> | > Backout the select changes and leave the sigsuspend changes. If that
> fixes
> | > the problem, then the problem is with select. I don't see how putting the
> | > code in a separate function in sys_sig.c makes a difference.
> |
> | I'm wondering how the signal mask gets restored in case of select(2) now.
> | There used to be code which did that. But the old signal mask is simply
> | copied into a property of the "lwp" structure.
>
> The same way that it is restored for sigsuspend. Look in kern_sig.c
I've reverted "sys/kern/sys_select.c" to revision 1.30 in my source tree
and can no longer reproduce the problem.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index