LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-13-2007, 11:23 PM   #1
Ramkrishan Ravi
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
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
 
Old 02-15-2007, 09:22 AM   #2
wjevans_7d1@yahoo.co
Member
 
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.
 
  


Reply


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 02:21 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM
laptop suspend/resume zchoyt Fedora 0 10-24-2005 10:21 PM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 02:39 AM
resume and suspend pthreads okhan Programming 3 07-30-2004 08:32 AM


All times are GMT -5. The time now is 12:50 PM.

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