Closed
Bug 1703181
Opened 4 years ago
Closed 4 years ago
Migrate HelperThreadPool to TaskController
Categories
(Core :: XPCOM, task, P3)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
HelperThreadPool will dispatch tasks to nsThreadPool, however, nsThreadPool cannot process tasks dispatched during shutdown.
We should try to dispatch tasks to TaskController.
Assignee | ||
Updated•4 years ago
|
Severity: -- → S4
Priority: -- → P3
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
We also call setHelperThreadTaskCallback earlier, now it's done in
XPCJSContext::Initialize. So GlobalHelperThreadState could know earlier
if we're dispatching to a external thread pool.
Pushed by allstars.chh@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f552efcd43a9
Part 1: Remove HelperThreadPool. r=KrisWright
https://hg.mozilla.org/integration/autoland/rev/f4788d23a4da
Part 2: Dispatch to TaskController. , r=KrisWright
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f552efcd43a9
https://hg.mozilla.org/mozilla-central/rev/f4788d23a4da
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•