Bug 188084 - It should be possible to use WTF::CallbackAggregator from a background thread
Summary: It should be possible to use WTF::CallbackAggregator from a background thread
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-26 15:53 PDT by Chris Dumez
Modified: 2018-08-02 16:19 PDT (History)
10 users (show)

See Also:


Attachments
Patch (12.86 KB, patch)
2018-07-26 16:47 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>