
14 Dec
2006
14 Dec
'06
8:13 p.m.
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.