[webkit-dev] Change WTF::ThreadCondition::timedWait to use absolute time?
dimich at chromium.org
Wed Dec 31 12:05:09 PST 2008
Good point. The double as used in SystemTime.h looks right indeed.
On Tue, Dec 30, 2008 at 10:31 PM, Darin Adler <darin at apple.com> wrote:
> On Dec 30, 2008, at 6:21 PM, Dmitry Titov wrote:
> bool ThreadCondition::timedWait(Mutex& mutex, const struct timespec
> It seems OK, roughly speaking, but I don't think that will achieve the
> platform independence goals of the Threading.h header. The type timespec is
> not necessarily a suitable one for use on all the different platforms we
> support. So even if it's an absolute time, we might want to use a double
> rather than a timespec. But we'd probably need to move currentTime from
> a timebase.
> -- Darin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev