LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Suspend/Resume thread in Linux (https://www.linuxquestions.org/questions/programming-9/suspend-resume-thread-in-linux-528870/)

Ramkrishan Ravi 02-13-2007 11:23 PM

Suspend/Resume thread in Linux
 
Hi,

I am getting problem in sending signal to specific thread.When i am sending SIGSTOP to a paricular thread whole process is stopped.I want to know whether SUSPEND/RESUME of thread is possible via SIGSTP and SIGCONT signal or anyother way other than the combination of "mutex and conditional wait".

I am using Linux kernel 2.6.9

wjevans_7d1@yahoo.co 02-15-2007 09:22 AM

According to David R. Butenhof in the best book I've found on pthreads programming, _Programming with POSIX(R) Threads_, SIGSTOPping an individual thread can't be done.


All times are GMT -5. The time now is 01:36 PM.