Closed
Bug 1625286
Opened 5 years ago
Closed 5 years ago
Expose dispatch flags to `moz_task`
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla76
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
Details
Attachments
(1 file)
In particular, we want to expose DISPATCH_EVENT_MAY_BLOCK, so we can schedule bridged Sync engine tasks (which are going to be I/O bound) on the dedicated mIOPool.
| Assignee | ||
Comment 1•5 years ago
|
||
This commit adds a dispatch_with_options method to Rust task
runnables, which takes a builder-style DispatchOptions
argument controlling how the runnable should be dispatched.
Currently, the only supported option is may_block, which
corresponds to nsIEventTarget::DISPATCH_EVENT_MAY_BLOCK.
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b397f3ab8dc3
Expose dispatch flags to `moz_task`. r=KrisWright
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•