From owner-freebsd-arch Sat Oct 5 19: 8: 8 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF4037B401; Sat, 5 Oct 2002 19:08:06 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 781B843E75; Sat, 5 Oct 2002 19:08:06 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 2DBD4AE165; Sat, 5 Oct 2002 19:08:06 -0700 (PDT) Date: Sat, 5 Oct 2002 19:08:06 -0700 From: Alfred Perlstein To: Juli Mallett Cc: Garrett Wollman , arch@FreeBSD.ORG Subject: Re: [jmallett@FreeBSD.org: [PATCH] Reliable signal queues, etc., [for review]] Message-ID: <20021006020806.GV95327@elvis.mu.org> References: <20021005002021.A14635@FreeBSD.org> <200210051816.g95IGu7K026880@khavrinen.lcs.mit.edu> <20021005113333.A56357@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021005113333.A56357@FreeBSD.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Juli Mallett [021005 11:33] wrote: > * De: Garrett Wollman [ Data: 2002-10-05 ] > [ Subjecte: Re: [jmallett@FreeBSD.org: [PATCH] Reliable signal queues, etc., [for review]] ] > > >The most notable change is that the most recently sent && lowest > > >numbered signal is sent, in the normal course of events, rather than > > >simply the lowest numbered or most recently sent. > > > > This still isn't right. Real-time signals are QUEUED -- i.e., signals > > of the same species are delivered in FIFO, not LIFO, order. POSIX > > further specifies that signal N will be delivered before signal N+k, > > for SIGRTMIN <= N <= N+k <= SIGRTMAX. The relative delivery order of > > any signals outside of this range is unspecified beyond the special > > behavior of SIGCONT, SIGSTOP, and SIGKILL. > > OK, well, then it's a matter of :s/_INSERT_HEAD/_INSERT_TAIL/. As for > only doing this for RTS, we'd have to duplicate large portions of the > signal code, and sendsig stuff, and have two seperate interfaces. > > > Please read section 2.4 of the System Interfaces volume of IEEE > > Std.1003.1-2001 very carefully before proceeding. If you do not have > > a copy of the standard, I think Mike Barcroft still has a few copies > > of The Open Group's ``authorized guidebook'' which includes a CD-ROM > > of the full standard. > > I have one of those, and I meant to stuff it on our fileserver and move > the appropriate data into our books directory. Haven't yet. I suck. You've done a lot of very good work. I'd also like to thank Garrett for taking the time to do the standards digging. That said I'm concerned that you haven't addressed the issue of the signal bitmask, basically being unable to send a non-siginfo style signal shouldn't fail because of lack of memory. I'm wondering if this is actually an issue or not, please pardon me for not UTSL'ing as of yet if it is taken care of. I'm not sure if this is feasable but it would seem like having a bitmask for RTS and non-RTS might work, with the special case being deqeueing the siginfo when it shows up in the RTS mask. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message