On Thu, Aug 24, 2000 at 08:34:22PM +0200, Andi Kleen wrote:
> > > I think shared sigprocmask is very useful. How otherwise would you lock
> > > against signals in a multithreaded process ? Locking is really
> > > needed when you're e.g. using queued SIGIO for IO. Doing the locking
> > > in user space is really nasty in this case
> >
> > lock_signals = 1; // all signal functions in my code check this
> > // and do the appropriate thing.
>
> And what is the appropiate thing?
Whatever the user program wants it to be. I don't see why the OS needs to
be involved here.
-- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:14 EST