[Webkit-unassigned] [Bug 125305] Incorrect usage of ThreadingOnce class.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 6 14:12:16 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=125305
--- Comment #17 from peavo at outlook.com 2013-12-06 14:10:32 PST ---
(In reply to comment #16)
> (In reply to comment #13)
> > You either have to write your own mutex class that uses only POD data and has a trivial constructor / destructor, or you need to use std::call_once.
>
> Updated patch to use PlatformMutex type, and added functions to create, lock, and unlock this mutex type.
I considered creating another mutex class, but to avoid having yet another mutex class, I thought it would be better to reuse an existing, + adding a couple of functions to manipulate the mutex.
--
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