[webkit-dev] Change WTF::ThreadCondition::timedWait to use absolute time?

Dmitry Titov 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
>> *timeoutTime)
> 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
> WebCore/platform/SystemTime.h to somewhere in JavaScriptCore/wtf to serve as
> a timebase.
>    -- Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081231/73bff742/attachment.html>

More information about the webkit-dev mailing list