
----- Original Message ----- From: "Howard Hinnant" <hinnant@twcny.rr.com> To: <boost@lists.boost.org> Sent: Saturday, November 15, 2008 12:51 AM Subject: Re: [boost] [thread] sleep() with time_duration?
On Nov 14, 2008, at 6:46 PM, vicente.botet wrote:
Yes, I know that, see my preceding post.
Ah, sorry 'bout that. You caught me skimming. :-)
But we don't have yet chrono in boost.
I'm probably skimming too fast again, but just in case you were too, Beman has this ready to go:
I know also that ;-)
Waiting for that maybe Anthony can add this
template <class AbsoluteTime> void boost::this_thread::sleep_until(Time& abs_t); template <class Duration> void boost::this_thread::sleep_for(const Duration& rel_t);
I'll leave it Anthony (of course), but these signatures look overly generic to me (anything will bind to them).
Please replace by void boost::this_thread::sleep_until(const system_time& abs_t); Best, Vicente