Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: possibly ot...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 12 Topic 45875 of 47563
Post > Topic >>

Re: possibly ot: thread suspension

by Chris Forone <4one@[EMAIL PROTECTED] > May 15, 2008 at 04:49 PM

Chris Thomasson schrieb:
> "Chris Forone" <4one@[EMAIL PROTECTED]
> wrote in message 
> news:g08qpt$ct0$1@[EMAIL PROTECTED]
>> hello group,
>>
>> how does a thread suspend itself? is a volatile bool enough, that is 
>> checked after each loop?
> 
> What is the thread suspending itself for? What do you want it to wait
on?
sorry for the delay,

the thread has an endless working-function that does something and after 
this it sleeps for a calculatet period of time. i want suspend the 
thread from another thread, BUT suspension should only occur at the end 
of the endless loop (after the sleep & before the new activity).

have mingw & win32 
(http://msdn.microsoft.com/en-us/library/ms686345(VS.85).aspx)

thanks a lot & hand, chris
 




 12 Posts in Topic:
possibly ot: thread suspension
Chris Forone <4one@[EM  2008-05-12 09:15:10 
Re: possibly ot: thread suspension
James Kanze <james.kan  2008-05-12 03:07:29 
Re: possibly ot: thread suspension
Gianni Mariani <gi4nos  2008-05-12 10:13:58 
Re: possibly ot: thread suspension
Szabolcs Ferenczi <sza  2008-05-12 08:45:39 
Re: possibly ot: thread suspension
"Chris Thomasson&quo  2008-05-12 16:29:18 
Re: possibly ot: thread suspension
James Kanze <james.kan  2008-05-13 02:15:38 
Re: possibly ot: thread suspension
"Chris Thomasson&quo  2008-05-13 13:10:49 
Re: possibly ot: thread suspension
James Kanze <james.kan  2008-05-14 01:33:03 
Re: possibly ot: thread suspension
"Chris Thomasson&quo  2008-05-14 02:41:01 
Re: possibly ot: thread suspension
Chris Forone <4one@[EM  2008-05-15 16:49:51 
Re: possibly ot: thread suspension
"Chris Thomasson&quo  2008-05-13 13:24:41 
Re: possibly ot: thread suspension
Chris Forone <4one@[EM  2008-05-15 16:49:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 8:09:42 CDT 2008.