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 5 of 12 Topic 45875 of 46738
Post > Topic >>

Re: possibly ot: thread suspension

by "Chris Thomasson" <cristom@[EMAIL PROTECTED] > May 12, 2008 at 04:29 PM

"Szabolcs Ferenczi" <szabolcs.ferenczi@[EMAIL PROTECTED]
> wrote in message 
news:dd13a776-05a7-440f-9d3f-85e9be1f975b@[EMAIL PROTECTED]
 May 12, 9:15 am, Chris Forone <4...@[EMAIL PROTECTED]
> wrote:

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

[...]

> If you want to check the return values of the library operations

You must check the return values of pthread calls. IMVHO, applications
that 
fail to at least check status of pthread calls are crap.


> your code will be even more complex.

Why? You can wrap the raw API calls.
 




 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 Jul 8 23:55:46 CDT 2008.