From: J.A. M. <jam...@ab...> - 2003-04-09 22:58:24
|
On 04.10, er...@he... wrote: > On Wed, Apr 09, 2003 at 05:40:01PM -0400, Nicholas Henke wrote: > > On Wed, 9 Apr 2003 14:48:07 -0600 > > er...@he... wrote: > > > > > Usually the only reason you would get a sigstop from the OS is > > > terminal related and then it should be TSTP. > > > Can you try with the below patch ? I am currently running this kernel: http://giga.cps.unizar.es/~magallon/linux/kernel/old/2.4.21-pre5-jam1.tar.bz2 and it works with threads. I run multithreaded (pthreads) programs on the nodes via bpsh, and they work fine. Not too much stress, just create one thread per processor (2) and crunch numbers in parrallel, with some occasinal locking for serializing some ops. This patch is related to the possibility of detached threads receiving a new exit signal while they are exiting due to a previous one, and end in a loop. Author is Ingo Molnar <mi...@el...> for the exact details. --- linux/kernel/exit.c.orig Mon Sep 9 14:06:05 2002 +++ linux/kernel/exit.c Mon Sep 9 14:06:25 2002 @@ -369,7 +369,7 @@ * */ - if(current->exit_signal != SIGCHLD && + if(current->exit_signal != SIGCHLD && current->exit_signal != -1 && ( current->parent_exec_id != t->self_exec_id || current->self_exec_id != current->parent_exec_id) && !capable(CAP_KILL)) -- J.A. Magallon <jam...@ab...> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.2 (Cooker) for i586 Linux 2.4.21-pre7-jam1 (gcc 3.2.2 (Mandrake Linux 9.2 3.2.2-5mdk)) |