Messages in this thread | | | From | cd_smith@ou ... | Date | Fri, 16 Jul 1999 01:05:30 -0500 (CDT) | Subject | Re: linux-kernel-digest V1 #4149 |
| |
On Thu, 15 Jul 1999 yodaiken@chelm.cs.nmt.edu wrote: > signal_handler: > catch signal > use whatever nutty algorithm is wanted to pick a thread > toss in time, random numbers, stock valuations, > pthread_kill(selected_thread, ...)
Certainly you knew it couldn't be that easy. The problem is that you've gotta send the signal to some particular pid. That pid won't be dedicated to "multiplexing" signals... it needs to receive its own thread signals as well. That's the problem there. So whatever you do, you'll need some way to decide between delivering a signal to a process, or searching that process's "group" for an appropriate process to receive the signal.
Chris Smith <cd_smith@ou.edu>
- 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/
| |