Closed Bug 1406830 Opened 7 years ago Closed 7 years ago

race setting AsyncCubebTask::sThreadPool

Categories

(Core :: Audio/Video: MediaStreamGraph, enhancement, P2)

56 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- wontfix
firefox58 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

Details

Attachments

(4 files)

The first AsyncCubebTask dispatch from AudioCallbackDriver::Start() may either
be from MediaStreamGraphImpl::RunInStableState() on the main thread or
ThreadedDriver::RunThread() on a threaded driver thread.  These could
potentially occur concurrently when there are multiple MediaStreamGraphs.
Depends on: 1406831
Comment on attachment 8916496 [details]
bug 1406830 remove unused RemoveMixerCallback

https://reviewboard.mozilla.org/r/187622/#review192710
Attachment #8916496 - Flags: review?(padenot) → review+
Comment on attachment 8916499 [details]
bug 1406830 store the AsyncCubeTask SharedThreadPool reference on the AudioCallbackDriver

https://reviewboard.mozilla.org/r/187628/#review192712
Attachment #8916499 - Flags: review+
Comment on attachment 8916496 [details]
bug 1406830 remove unused RemoveMixerCallback

https://reviewboard.mozilla.org/r/187622/#review192714
Comment on attachment 8916497 [details]
bug 1406830 remove unused GraphDriver::Resume()

https://reviewboard.mozilla.org/r/187624/#review192716
Attachment #8916497 - Flags: review?(padenot) → review+
Comment on attachment 8916498 [details]
bug 1406830 reimplement Shutdown() as virtual separately on each driver

https://reviewboard.mozilla.org/r/187626/#review192718
Attachment #8916498 - Flags: review?(padenot) → review+
Comment on attachment 8916499 [details]
bug 1406830 store the AsyncCubeTask SharedThreadPool reference on the AudioCallbackDriver

https://reviewboard.mozilla.org/r/187628/#review192720
Attachment #8916499 - Flags: review?(padenot) → review+
Rank: 19
Priority: -- → P2
Pushed by ktomlinson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93727ab4586d
remove unused RemoveMixerCallback r=padenot
https://hg.mozilla.org/integration/autoland/rev/5496bf169434
remove unused GraphDriver::Resume() r=padenot
https://hg.mozilla.org/integration/autoland/rev/a19b9ada34d2
reimplement Shutdown() as virtual separately on each driver r=padenot
https://hg.mozilla.org/integration/autoland/rev/426e40fa5d9c
store the AsyncCubeTask SharedThreadPool reference on the AudioCallbackDriver r=jesup,padenot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: