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
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, ...)


-
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.045 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site