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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 5 12:20:46 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125305





--- Comment #4 from peavo at outlook.com  2013-12-05 12:19:04 PST ---
(In reply to comment #2)
> (From update of attachment 218513 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=218513&action=review
> 
> > Source/JavaScriptCore/ChangeLog:9
> > +        On Mac, the class cannot be used as a global static, as global constructors/destructors fails to compile with the current compiler settings.
> 
> Those compiler settings exist for a reason. We want other platforms to get closer to being able to enable those settings, not farther away.

Trying again :)

I removed the static global ThreadingOnce object, and used a local static flag instead.
It's not fully equivalent to the pthread version with regards to synchronization between threads, but there are no global constructors/destructors now.

-- 
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