Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 13:59:48 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
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>
In-Reply-To: <200209302020.g8UKKMRt092756@freefall.freebsd.org>; from jmallett@FreeBSD.org on Mon, Sep 30, 2002 at 01:20:22PM -0700
References:  <200209302020.g8UKKMRt092756@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Juli Mallett <jmallett@FreeBSD.org> [ 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 <jmallett@FreeBSD.org>       | 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020930135948.A41526>