[MPICH] pthread_kill(thread,SIGSTOP) is killing the whole process instead of killing the thread
Ravi ravi
gotothati at gmail.com
Thu Nov 23 03:13:52 CST 2006
hi all,
I am using mpich-1.2.4 over my AIX cluster.
My application uses threads in MPI programs. And I don't need a thread-safe
version of MPI here because we dont share any data to operate from threads.
I am trying to kill the thread of one of the processes in my application
like this
pthread_kill(threadID,SIGSTOP); OR pthread_kill(threadID,SIGKILL)
this is resulting in the destruction of that whole process intern it is
stopping my application.
My thread is doing some receiving operation like this
MPI_Recv(.................);
I want to kill the thread from the main thread as soon as an event occurs in
the mainthread.
Any help ??
Thanks and Regards
Ravi.Thati
Our attempts may fail but we should not fail to attempt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20061123/87b0e051/attachment.htm>
More information about the mpich-discuss
mailing list