
31 May
2011
31 May
'11
3:53 p.m.
And it's true, in win32 version this_thread::sleep() declaration is inline void sleep(TimeDuration const& rel_time) {
interruptible_wait(detail::pin_to_zero(rel_time->total_milliseconds())); } TimeDuration=boost::posix_time::time_duration
so rel_time->total_milliseconds() get a compiler error:
I'm looking at this: http://www.boost.org/doc/libs/1_46_1/boost/thread/win32/thread_data.hpp ...and I don't see any "->" there. Do you work with the official 1.46.1 release, or with some dev trunk? HTH, Igor'.