Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-14-2007, 12:23 AM   #1
Ramkrishan Ravi
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Suspend/Resume thread in Linux


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
Old 02-15-2007, 10:22 AM   #2
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux: Suspend and Resume LXer Syndicated Linux News 0 09-29-2006 03:21 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 11:48 AM
laptop suspend/resume zchoyt Fedora 0 10-24-2005 11:21 PM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 03:39 AM
resume and suspend pthreads okhan Programming 3 07-30-2004 09:32 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration