NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38060: blocking TSTP is broken
The following reply was made to PR kern/38060; it has been noted by GNATS.
From: Andrew Doran <ad%netbsd.org@localhost>
To: YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/38060: blocking TSTP is broken
Date: Thu, 6 Mar 2008 23:59:10 +0000
On Wed, Mar 05, 2008 at 12:16:42PM +0900, YAMAMOTO Takashi wrote:
> > I think this should work. I can't remember why it stops there instead of
> > deferring to issignal().
>
> because otherwise it makes nanosleep wake up earlier?
> (it was fixed by kern_time.c rev.1.141.)
Ah, ok. It will likely break other stuff that sleeps, though. I can think of
generic changes that lessen the impact of that but none that resolve it
completely. Longer term perhaps we should make condition variables take an
absolute timeout. I think for now we should go with enqueueing the signal to
the process as you have suggested.
Thanks,
Andrew
Home |
Main Index |
Thread Index |
Old Index