12 Oct
2006
12 Oct
'06
12:52 p.m.
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