Boost logo

Boost Users :

From: Sascha Seewald (vudu_at_[hidden])
Date: 2006-10-12 08:52:57


What about adding a function boost::sleep_until() that takes a point in
time and change boost::sleep() to take a duration?

Sascha

Roland Schwarz wrote:
> Johan Nilsson wrote:
>> Out of curiosity, who actually prefers using clock times for
>> thread::sleep()? IIRC the implementation still converts the UTC time into a
>> relative time before entering sleep, so it's only misleading to have an
>> absolute time as parameter to sleep.
>
> You would need to ask the pthreads folks. ;-)
> This behaviour is inherited from there.
>
> Roland


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