libthr and 1:1 threading.

Julian Elischer julian at elischer.org
Wed Apr 2 13:15:27 PST 2003



On Wed, 2 Apr 2003, Juli Mallett wrote:

> * De: Jeff Roberson <jroberson at chesapeake.net> [ Data: 2003-04-02 ]
> 	[ Subjecte: Re: libthr and 1:1 threading. ]
> > On Wed, 2 Apr 2003, Terry Lambert wrote:
> > > Also, any ETA on the per process signal mask handing bug in
> > > libthr?  Might not be safe to convert everything up front, in
> > > a rush of eager enthusiasm...
> > 
> > Which bug is that?  I'm not aware of it.
> 
> I think Terry is referring to the Uncertainty & Doubt as if it were
> a bug over the lack of a process sigmask (moved into the threads),
> as raised by the M:N group.

I think this IS a problem. We need a per-process mask.
to block signals that no thread is interested in.
Since M:N threads do not have a kernel thread for each userland thread,
there is nowhere to store this info any more.


I'd be happy to have it be a per-ksegrp mask actually..
(to help deliver the signal to the right group to lower the interaction
between UTS's in different groups.)



More information about the freebsd-current mailing list