Messages in this thread | | | Date | Fri, 16 Jul 1999 14:34:14 +1000 | From | Richard Gooch <> | Subject | Re: linux-kernel-digest V1 #4149 |
| |
yodaiken@chelm.cs.nmt.edu writes: > On Thu, Jul 15, 1999 at 06:00:33PM -0600, Larry McVoy wrote: > > Why? I can construct the same behavior in LinuxThreads using interfaces > > that have been here for 20 years or more. The only thing that is not > > true about that statementis that I have to be deterministic about which > > thread gets the signal, and the POSIX standard lets the system pick one > > at random. Personally, I'd prefer to be deterministic. It makes debugging > > a hell of a lot easier. > > 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, ...)
I'd like to know why LinuxThreads never did this. Is there some subtlety that we're missing? It would be nice if it could be done like this.
Regards,
Richard....
- 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/
| |