mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
b8cd152890
To prevent another heap allocation, we re-use the TaskQueue internal monitor. As a TaskQueue is refcounted, and the MozPromise::Then() holds a reference to the taskqueue, it ensures that the monitor isn't immediately destroyed when Await() execution unwinds. Instead it will live until either the lambda or Await() completes, whichever comes last. MozReview-Commit-ID: EeG6LLAiiyp --HG-- extra : rebase_source : c5872733c0444737682632dd10d8844c44c4d429 |
||
---|---|---|
.. | ||
CamerasChild.cpp | ||
CamerasChild.h | ||
CamerasParent.cpp | ||
CamerasParent.h | ||
CamerasTypes.h | ||
DeviceChangeCallback.h | ||
MediaChild.cpp | ||
MediaChild.h | ||
MediaParent.cpp | ||
MediaParent.h | ||
MediaSystemResourceClient.cpp | ||
MediaSystemResourceClient.h | ||
MediaSystemResourceManager.cpp | ||
MediaSystemResourceManager.h | ||
MediaSystemResourceManagerChild.cpp | ||
MediaSystemResourceManagerChild.h | ||
MediaSystemResourceManagerParent.cpp | ||
MediaSystemResourceManagerParent.h | ||
MediaSystemResourceMessageUtils.h | ||
MediaSystemResourceService.cpp | ||
MediaSystemResourceService.h | ||
MediaSystemResourceTypes.h | ||
MediaTaskUtils.h | ||
MediaUtils.cpp | ||
MediaUtils.h | ||
moz.build | ||
OpenSLESProvider.cpp | ||
OpenSLESProvider.h | ||
OSXRunLoopSingleton.cpp | ||
OSXRunLoopSingleton.h | ||
PCameras.ipdl | ||
PMedia.ipdl | ||
PMediaSystemResourceManager.ipdl | ||
ShmemPool.cpp | ||
ShmemPool.h | ||
VideoEngine.cpp | ||
VideoEngine.h | ||
VideoFrameUtils.cpp | ||
VideoFrameUtils.h |