Boost logo

Boost Users :

Subject: Re: [Boost-users] [inteprocess] timed_lock absolute time
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-12-31 19:42:00


>> Yes. I should document it, but internally the library uses
>> universal_time().
>
> OK, that is a surprise ! You really need to document that all timed
> locks in interprocess use UTC and not local time. IMO saying "absolute
> time" as you do in the doc does not infer UTC, and it is more than
> natural to wrongly assume local time.

I'm not an expert on time interfaces, so maybe it was an incorrect
choice. Hopefully porting it to C++11 will solve those problems. Let's
see if we can find some time soon to do it.

Thanks for the bug reports,

Ion


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