Bug 188084

Summary: It should be possible to use WTF::CallbackAggregator from a background thread
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, benjamin, cgarcia, cmarcelo, commit-queue, dbates, ews-watchlist, ggaren, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=188283
Attachments:
Description Flags
Patch none

Description Chris Dumez 2018-07-26 15:53:55 PDT
It should be possible to use WTF::CallbackAggregator from a background thread. John needs it for ITP code which lives on a background queue. The CallbackAggregator destructor currently always calls the CompletionHandler on the main thread no matter what.
Comment 1 Chris Dumez 2018-07-26 16:47:04 PDT
Created attachment 345889 [details]
Patch
Comment 2 WebKit Commit Bot 2018-07-26 18:24:40 PDT
Comment on attachment 345889 [details]
Patch

Clearing flags on attachment: 345889

Committed r234288: <https://trac.webkit.org/changeset/234288>
Comment 3 WebKit Commit Bot 2018-07-26 18:24:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-07-26 18:25:30 PDT
<rdar://problem/42646087>