|
Boost : |
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2001-03-22 03:00:35
Yes this is common un- or only partially- met requirement.
(One sample program had about a dozen timing systems for different OSs!)
Paul
> -----Original Message-----
> From: williamkempf_at_[hidden] [mailto:williamkempf_at_[hidden]]
> Sent: Wednesday, March 21, 2001 7:50 PM
> To: boost_at_[hidden]
> Subject: [boost] High resolution time routines
>
>
> While attempting to finalize the pthread implementation of
> Boost.Threads I ran into a small issue. The pthread-win32
> implementation uses the non-standard (i.e. language standard)
> timespec data type for the timed wait routines as per POSIX
> standards, but it does not provide any mechanisms to use this type.
> So, I had to add some platform specific code to allow Windows
> programmers to use a pthread implementation (not that I'd recommend
> that they do this, but it's the only way for me to develop pthread
> implementations at this moment). This got me to thinking about the
> lack of a portable way to do this sort of thing and was wondering if
> there'd be interest in such routines for Boost.
>
> I've found a web site (http://www.cl.cam.ac.uk/~mgk25/c-time/) with a
> proposal for ISO C 200x that may be a good starting point for such
> routines.
>
> Opinions/comments?
>
> Bill Kempf
>
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk