lkml.org 
[lkml]   [1999]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.232 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site