From owner-cvs-all Mon Sep 30 16:29:49 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 2FF9F37B401; Mon, 30 Sep 2002 16:29:48 -0700 (PDT) Date: Mon, 30 Sep 2002 16:29:48 -0700 From: Juli Mallett To: Julian Elischer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/osf1 osf1_signal.c Message-ID: <20020930162948.A50424@FreeBSD.org> References: <20020930135948.A41526@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from julian@elischer.org on Mon, Sep 30, 2002 at 02:05:37PM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Julian Elischer [ Data: 2002-09-30 ] [ Subjecte: Re: cvs commit: src/sys/alpha/osf1 osf1_signal.c ] > > > On Mon, 30 Sep 2002, Juli Mallett wrote: > > > > > I should mention that signal delivery is now decidedly almost LIFO, and > > will be fully LIFO once everything uses a ksiginfo, and not a signal > > number... Right now it's almost racey, which leaves it undefined, but > > it's mostly like... [keep in mind the proc lock must be held, so there > > is no race, and it is defined, but...] > > 1. Check the signal queue... > > 2. Pop a signal number off... The most recently recv'd... > > 3. Dequeue the first signal we find with that signo... > > 4. Send it... > > IF IT'S A tailq, why isn't it FIFO? > would it make a difference to have one queue per type? Because you want the most immediate thing, think about recieving SIGSTOP while you have other signals queued. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message