Boost logo

Boost Users :

From: Raúl Huertas (raulh39_at_[hidden])
Date: 2006-12-14 15:13:01


Berenguer Blasi escribió:
> Hi,
>
> I was about to use the sleep method for threads

do you mean boost::thread::sleep()?

> when something crossed my
> mind:
>
> - Is this the actual sleep function which will block all resources hold by
> the thread during the sleeping time or
>

Yes, it is.

> - Is this something with a more wait-wise behaviour were the thread leaves
> resources to be used by others while waiting?
>

No it isn't. ;)

Regards,
Raul.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net