[Webkit-unassigned] [Bug 158457] New: Remove the need for the CrossThreadTask::CrossThreadTask(NoncopyableFunction<void ()>&) constructor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 6 19:54:02 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158457
Bug ID: 158457
Summary: Remove the need for the
CrossThreadTask::CrossThreadTask(NoncopyableFunction<v
oid ()>&) constructor
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: beidson at apple.com
Remove the need for the CrossThreadTask::CrossThreadTask(NoncopyableFunction<void ()>&) constructor
The purpose of CrossThreadTask is that users feed in a method and all the arguments, which are then copied as needed for cross-thread use.
By exposing a constructor that takes any callable function, one can create a "Cross thread task" that isn't really cross thread.
We added this for expediency while hacking on lambdas and dispatch methods, but its necessity should be removed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160607/36493541/attachment.html>
More information about the webkit-unassigned
mailing list