Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2002 21:13:52 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c
Message-ID:  <20020908211352.A12924@FreeBSD.org>
In-Reply-To: <200209090341.g893fTNH062134@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Sun, Sep 08, 2002 at 11:41:29PM -0400
References:  <200209071912.g87JCs0I062248@freefall.freebsd.org> <20020907163423.A14528@FreeBSD.org> <200209090341.g893fTNH062134@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Garrett Wollman <wollman@lcs.mit.edu> [ Data: 2002-09-08 ]
	[ Subjecte: Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c ]
> <<On Sat, 7 Sep 2002 16:34:23 -0700, Juli Mallett <jmallett@FreeBSD.org> said:
> 
> > Note that until everything is refactored as I want, I can't make these
> > fields "honest", about who's sending the signal, just about who the signal
> > is being delivered to.
> 
> Please don't do this without properly implementing POSIX Real-Time
> (queued) signals, which is what all this stuff was intended for in the
> first place.  SA_SIGINFO doesn't do programs much good without it.

Trap code, sender pid/uid (if another process sent it), ...  I'd love to
implement RTS, but it's still possible to move a lot of things to this
structure, without implementing RTS.  Right now what I'm doing is just
expanding our current signal implementation to store a little more info,
so that I can implement a few things involving passing events from kernel
to userland.  From there it's just switching to using a linked list, and
getting rid of the current sigset stuff, and so on, to implement RTS, in
the queued capacity.  I don't know about the other implications.  Oh, it
also makes it possible to tell a parent which child died, which is useful
too.
-- 
Juli Mallett <jmallett@FreeBSD.org>       | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger jmallett@FreeBSD.org

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?20020908211352.A12924>