[Webkit-unassigned] [Bug 92365] Refactor cross thread communication

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 01:00:50 PDT 2012


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





--- Comment #8 from David Levin <levin at chromium.org>  2012-07-27 01:00:53 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > I haven't thought deeply about this. Also, if WTF::Function is used within one thread, then it would not be good to have to do CrossThreadCopy for every parameter.
> 
> That's a big problem. Because the name WTF::Function seems not relevant to cross thread communication, people will be surprised to know that every argument of WTF::Function is copied in a cross-thread safe way.

Then perhaps there should just be a WTF::CrossThreadFunction (which does the copy/ref thing) and then uses WTF::Function?

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