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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 6 12:27:05 PST 2013


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





--- Comment #9 from peavo at outlook.com  2013-12-06 12:25:22 PST ---
(In reply to comment #5)
> 
> It seems like this should be done using the old "check->lock mutex->check again" construct.  It seems like this logic still gives us a chance for two threads to initialize the global wordlist.
> 

Modified the patch by adding a mutex as suggested, should be thread-safe 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