Closed
Bug 1622082
Opened 5 years ago
Closed 5 years ago
Expose `NS_CreateBackgroundTaskQueue` to Rust
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
Details
Attachments
(1 file)
Let's slap an extern "C"
onto its declaration so that we can use it in Rust code (via moz_task
).
Assignee | ||
Comment 1•5 years ago
|
||
This commit moves NS_CreateBackgroundTaskQueue
into an extern "C"
block, adds a create_background_task_queue
function to moz_task
,
and makes it possible to dispatch Rust TaskRunnable
s to any event
target, instead of just an nsIThread
.
Assignee | ||
Comment 2•5 years ago
|
||
Oops, I mixed up my languages! 😆
Summary: Expose `NS_CreateBackgroundTaskQueue` to C → Expose `NS_CreateBackgroundTaskQueue` to Rust
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dce5589e1fc6
Expose `NS_CreateBackgroundTaskQueue` to `moz_task`. r=KrisWright
Comment 4•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
•