Boost logo

Boost Users :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-06-18 12:04:58


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


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