Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2006-01-08 21:32:17


On Sat, 07 Jan 2006 13:55:08 +0100, Thomas Lemaire wrote
> Dear list,
>
> I would like to convert ptime and time_duration to and from the
> standard timeval type. So that I can use all the operators available
> for ptime and time_duration I found that this topic has already been
> discussed here:
>
> http://lists.boost.org/Archives/boost/2003/06/49197.php
>
> The conclusion was:
> ""
> Ok will do. I'll add some protections or rounding for when durations
> support higher than microsecond resolution. I'll let you know when
> this gets added.
>
> Thx,
>
> Jeff
> ""
>
> This message was sent on 2003-06-23. I cannot find any thing related
> to timeval in the doc of boost 1.33. Did I miss something ?
>
> Also doc about xtime in boost.threads does not help that much...
> http://www.boost.org/doc/html/xtime.html

I'm afraid this feature has slipped thru the cracks. There was some code in
the thread that you cite that should give you what you want...

Sorry,

Jeff


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