18 Jun
2007
18 Jun
'07
4:04 p.m.
Kirit Sælensminde wrote:
me22 wrote:
See the thread::sleep function: http://boost.org/doc/html/boost/thread.html#id1006145-bb
Looking at the documentation here: http://boost.org/doc/html/boost/xtime.html I still have a couple of questions about using xtime.
1) Presumably the 'platform-specific-type' is a floating value of some sort rather than an integer?
No. For Boost.Thread (at least) it's (currently) an integer on all platforms.
2) What are the valid values for 'clock_type' in the function xtime_get?
Judging from the header, TIME_UTC seems the only valid value. BTW. is there any hope for a more usable time class in Boost.Thread, soon? Regards, Tobias