lkml.org 
[lkml]   [2000]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thread group comments
   Date: Sat, 2 Sep 2000 11:56:05 -0700 (PDT)
From: Linus Torvalds <torvalds@transmeta.com>

> * SIGCONT isn't handled correctly:
>
> "[W]hen SIGCONT is generated for a process all pending stop signals
> for that process shall be discarded."

A lot of these issues should be fixed in test8-pre2. It does more of a
true job of having shared signals instead of emulating them with a global
"blocked" list and spreading them out to be local signals.

I looked at test8-pre2, and the basic strategy looks promising :-).

However folding CLONE_SIGHAND and CLONE_THREAD onto CLONE_SIGNAL
doesn't work. The current LinuxThreads library uses CLONE_SIGHAND but
cannot deal with the thread group stuff (it relies on getpid()
returning the process ID of the thread and not the process ID of the
thread-group leader). Basically locks up every existing
multi-threaded program.

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.020 / U:0.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site