Currently, WorkQueue is in WebKit2. By moving WorkQueue and PlatformProcessIdentifier to WTF, WebCore code can use it. This patch is required for parallel image decoders because WorkQueue is used to make image decoding off the main thread.
Created attachment 151238 [details] Patch
Comment on attachment 151238 [details] Patch Attachment 151238 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13157819
Comment on attachment 151238 [details] Patch Attachment 151238 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/13162259
Created attachment 151240 [details] Patch
Created attachment 151241 [details] Patch
Created attachment 151242 [details] Patch
Comment on attachment 151242 [details] Patch Attachment 151242 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13157829
I will fix the build soon ;(
Comment on attachment 151242 [details] Patch Attachment 151242 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13164293
Created attachment 151627 [details] Patch
It's another task, but later it would be nice to merge ParallelJobs (http://trac.webkit.org/browser/trunk/Source/WTF/wtf/ParallelJobs.h) and the moved WorkQueue.
(In reply to comment #10) > Created an attachment (id=151627) [details] > Patch Thanks for build fix!
(In reply to comment #11) > It's another task, but later it would be nice to merge ParallelJobs (http://trac.webkit.org/browser/trunk/Source/WTF/wtf/ParallelJobs.h) and the moved WorkQueue. Isn't ParallelJobs for data parallelism? How can they be merged?
Comment on attachment 151627 [details] Patch Attachment 151627 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13166727
Created attachment 151643 [details] Patch
I think we can improve WorkQueue later to satisfy the requirements of ThreadCommunication ( https://trac.webkit.org/wiki/ThreadCommunication ). CC'ing Levin for further discussion.
Created attachment 154508 [details] Patch
Comment on attachment 154508 [details] Patch Attachment 154508 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13368055
We are working on 90869 instead. Close this bug as WONTFIX.