Closed Bug 1584339 Opened 5 years ago Closed 5 years ago

move background event target logic into a separate class

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

No description provided.

Eventually, we're going to want to hand out an nsIEventTarget* to people
wanting to dispatch to background threads, but for whatever reason not
wanting to use the NS_DispatchToBackgroundThread API (probably because
they want to verify correctness by checking that certain methods are, in
fact, running on the background event target). And because we're going to
want to have some sort of division between CPU-bound and IO-bound tasks, we
can't just hand out references to a single thread pool. We need some sort
of intermediate object for both of these goals, and that is what the added
BackgroundEventTarget class is.

Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee38efe37e78
move background event target logic into a separate class; r=KrisWright
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → nfroyd
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: