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 2 of 12 Topic 45875 of 48020
Post > Topic >>

Re: possibly ot: thread suspension

by James Kanze <james.kanze@[EMAIL PROTECTED] > May 12, 2008 at 03:07 AM

On 12 mai, 09:15, Chris Forone <4...@[EMAIL PROTECTED]
> wrote:

> how does a thread suspend itself? is a volatile bool enough,
> that is checked after each loop?

It calls the appropriate system function, depending on the
system.  You'll have to ask in a group appropriate for whatever
system you're using.  (In general, though, volatile is neither
necessary nor sufficient.)

--
James Kanze (GABI Software)             email:james.kanze@[EMAIL PROTECTED]
 en informatique orient=E9e objet/
                   Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
 




 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 Tue Oct 14 8:42:08 CDT 2008.