Closed Bug 1391850 Opened 7 years ago Closed 7 years ago

Allow idle dispatch from arbitrary threads

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Now that bug 1382922 has landed, this check is no longer needed. It's safe to dispatch idle runnables from any thread: we use a single condition variable for all our event queues, and so a dispatch to any queue will wake up the thread we're dispatching to.
Attachment #8899024 - Flags: review?(bugs)
Attachment #8899024 - Flags: review?(bugs) → review+
Pushed by wmccloskey@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/79d709081bf0
Allow IdleDispatch from any thread (r=smaug)
https://hg.mozilla.org/mozilla-central/rev/79d709081bf0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: