[Webkit-unassigned] [Bug 66145] [chromium] Assert that main thread and compositor thread are used safely

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 11:14:45 PDT 2011


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





--- Comment #2 from James Robinson <jamesr at chromium.org>  2011-08-12 11:14:45 PST ---
I don't think function-level blocks will work, since we will sometimes changes modes in the middle of a function.  I'd suggest having a set of assertions (something like assertMainThread(), assertDuringCommit(), assertCompositorThread() - I'm sure you can think of better names) and explicit calls to switch state.

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