Re: thread group comments

From: Mark Kettenis (kettenis@wins.uva.nl)
Date: Sun Sep 03 2000 - 19:21:01 EST


   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/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:16 EST