[Webkit-unassigned] [Bug 125305] Incorrect usage of ThreadingOnce class.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 6 12:46:57 PST 2013


--- Comment #12 from Brent Fulgham <bfulgham at webkit.org>  2013-12-06 12:45:14 PST ---
(From update of attachment 218612)
View in context: https://bugs.webkit.org/attachment.cgi?id=218612&action=review

>>> Source/JavaScriptCore/dfg/DFGWorklist.cpp:266
>>> +static Mutex initializeMutex;
>> This is a static initializer / destructor.
> Yes, I have tried to come up with something which can avoid that, but I find it hard to get around this without using a static global object for platform which doesn't use pthreads ...

Geof: Given the lack of pthread_once_t support on Windows, can you suggest an appropriate construct that doesn't involve a static initializer?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list