[Webkit-unassigned] [Bug 22360] JSC::getCurrentUTCTimeWithMicroseconds uses unprotected static variables
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 19 12:47:28 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22360
kevinwatters at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kevinwatters at gmail.com
------- Comment #6 from kevinwatters at gmail.com 2008-11-19 12:47 PDT -------
(In reply to comment #5)
> Someone just mentioned on IRC that they wanted to move this function to WTF, in
> order to replace gettimeofday in ThreadingPthreads (I don't know why exactly).
>
The reason is that the wx port is switching from ThreadingNone.cpp to
ThreadingPthreads.cpp, in which the ThreadCondition::timedWait function needs a
high resolution timer to calculate a target time to give to
pthread_cond_timedwait.
My temporary solution was to implement gettimeofday in that file using the
Win32 function GetSystemTimeAsFileTime--but reusing
getCurrentUTCTimeWithMicroseconds would work as well if it makes sense to have
some time functionality in WTF.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list