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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 00:44:04 PDT 2012


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





--- Comment #5 from Kwang Yul Seo <skyul at company100.net>  2012-07-27 00:44:07 PST ---
(In reply to comment #4)
> Only refer counting the first item seems odd and error prone. I'm all for getting rid of CrossThreadTask but I don't think that WTF::Function plays the same role with this odd behavior. (Actually, I think the CrossThreadTask isn't bad but ScriptExecutionContext should be removed from it.) If WTF::Function is used like CrossThreadTask, then perhaps it should get the functionality to copy/ref every parameter instead of just the first (and CrossThreadTask can go away).

I agree. It seems hard to merge CrossThreadTask into WTF::Function while maintaining the original behavior of WTF::Function. Because WTF::Function is not used frequently in WebKit, we can change the behavior of WTF::Function and modify the corresponding call sites.

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