From owner-cvs-all Mon Sep 30 13:59:49 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 7074637B401; Mon, 30 Sep 2002 13:59:48 -0700 (PDT) Date: Mon, 30 Sep 2002 13:59:48 -0700 From: Juli Mallett To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/osf1 osf1_signal.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_misc.c linux_signal.c src/sys/compat/svr4 svr4_filio.c svr4_signal.c src/sys/conf files src/sys/fs/procfs procfs_ctl.c src/sys/kern init_main.c ... Message-ID: <20020930135948.A41526@FreeBSD.org> References: <200209302020.g8UKKMRt092756@freefall.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: <200209302020.g8UKKMRt092756@freefall.freebsd.org>; from jmallett@FreeBSD.org on Mon, Sep 30, 2002 at 01:20:22PM -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: Juli Mallett [ Data: 2002-09-30 ] [ Subjecte: cvs commit: src/sys/alpha/osf1 osf1_signal.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_misc.c linux_signal.c src/sys/compat/svr4 svr4_filio.c svr4_signal.c s > jmallett 2002/09/30 13:20:22 PDT > > First half of implementation of ksiginfo, signal queues, and such. This > gets signals operating based on a TailQ, and is good enough to run X11, > GNOME, and do job control. There are some intricate parts which could be > more refined to match the sigset_t versions, but those require further > evaluation of directions in which our signal system can expand and contract > to fit our needs. 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... -- 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