Some sugar to simplify joining jobs with the gfx JobScheduler

RESOLVED FIXED in Firefox 47

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: nical, Assigned: nical)

Tracking

unspecified
mozilla47
Points:
---

Firefox Tracking Flags

(firefox47 fixed)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

Assignee

Description

3 years ago
There's a recurring pattern of creating an EventObject, then a SetEventTask using that object and a SyncPoint, firing the EventTask and waiting on the EventObject. In most cases nothing else ever uses the references to the EventObject so we can add a simple JobScheduler::Join(SyncObject* completion) helper to do all of that.
Assignee

Updated

3 years ago
Whiteboard: [gfx-noted]
Assignee

Comment 1

3 years ago
Assignee: nobody → nical.bugzilla
Attachment #8713739 - Flags: review?(jmuizelaar)
Attachment #8713739 - Flags: review?(jmuizelaar) → review+

Comment 3

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/8e0043dea275
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.