Messages in this thread | | | Date | Thu, 24 Aug 2000 11:59:46 -0600 | From | yodaiken@fsmlabs ... | Subject | Re: SCO: "thread creation is about a thousand times faster than on native Linux" |
| |
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/
| |