Subject: [Boost-bugs] [Boost C++ Libraries] #2956: vxWorks POSIX quirks for date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-18 20:10:47
#2956: vxWorks POSIX quirks for date_time
----------------------------------------------------------+-----------------
Reporter: Dustin Spicuzza <dustin_at_[hidden]> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: date_time
Version: Boost 1.38.0 | Severity: Showstopper
Keywords: |
----------------------------------------------------------+-----------------
vxWorks is almost a unix-like platform, that supports the POSIX realtime
extensions and a lot of POSIX stuff.. but its weird.
It apparently doesn't support gettimeofday. I modified microsec_time_clock
to support a situation where gettimeofday isn't available but
clock_gettime is.
vxWorks has localtime_r, but it is defined as "extern int localtime_r
(const time_t *_tod, struct tm *_result);"... so it needs some hand
holding to work correctly. same with gmtime_r
Of course, this patch also requires the user to setup a config that
defines BOOST_HAS_CLOCK_GETTIME, but I'm going to submit a separate patch
for vxWorks platform config
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2956> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC