
24 Jan
2009
24 Jan
'09
9:17 a.m.
Ion Gaztañaga wrote:
Use universal time instead of local time. Maybe this is not documented, and maybe this might be severe limitation. I've seen that boost::thread uses boost::system_time so maybe Interprocess should go this way.
Boost thread's system time is universal time:
namespace boost
{
typedef boost::posix_time::ptime system_time;
inline system_time get_system_time()
{
return boost::date_time::microsec_clock