Closed Bug 1604877 Opened 5 years ago Closed 5 years ago

Move the nsSystemInfo helper thread work to the background event target

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: KrisWright, Assigned: KrisWright)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Instead of using a LazyIdleThread as a system info helper thread [1] we would benefit from dispatching the work to the dedicated background threads.

[1] https://searchfox.org/mozilla-central/rev/6305f6935f496b3a302c7afcc579399a4217729c/xpcom/base/nsSystemInfo.h#84

Converts the one-off LazyIdle thread in nsSystemInfo to use a background event target dispatching the dedicated background thread pool instead.

Assignee: nobody → kwright
Status: NEW → ASSIGNED
Pushed by kwright@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b783a6bdc9b6 Convert the nsSystemInfo thread to a background ET. r=mconley
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: