Messages in this thread | | | Date | Wed, 29 Mar 2000 17:47:13 -0800 (PST) | From | Jeremy Fitzhardinge <> | Subject | Re: Slow pthread_create() under high load |
| |
On 30-Mar-00 Christopher Smith wrote: > While it's undoubtedly doable in user-space, the whole idea of that > feature is to avoid signal-handling overhead (and replace it with > thread creation overhead I guess ;-). I'm not sure how one would do > THAT in user space without some kind of kernel support.
You'd simply block that signal in all threads and have the signal handler thread use sigwait() to wait for the signal to turn up. If your signal load is heavy enough that you need multiple threads to deal with it, you can create multiple signal handler threads.
J
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |