gecko-dev/dom/media/systemservices
Jean-Yves Avenard b8cd152890 Bug 1425904 - Make the monitor refcounted. r=gerald
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
2017-12-19 11:11:23 +01:00
..
CamerasChild.cpp Bug 1400912 - Remove default values in CamerasChild's LockAndDispatch. r=padenot 2017-09-26 13:03:42 -04:00
CamerasChild.h Bug 1400912 - Remove default values in CamerasChild's LockAndDispatch. r=padenot 2017-09-26 13:03:42 -04:00
CamerasParent.cpp Bug 1388219 - down scale camera output frame to the target capability. r=jib 2017-12-01 10:12:51 +08:00
CamerasParent.h Bug 1418165 - Protect sVideoCaptureThread with sThreadMonitor. r=jib 2017-11-17 09:56:55 +08:00
CamerasTypes.h
DeviceChangeCallback.h
MediaChild.cpp
MediaChild.h
MediaParent.cpp Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm 2017-09-03 22:14:11 -07:00
MediaParent.h
MediaSystemResourceClient.cpp
MediaSystemResourceClient.h
MediaSystemResourceManager.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
MediaSystemResourceManager.h
MediaSystemResourceManagerChild.cpp
MediaSystemResourceManagerChild.h
MediaSystemResourceManagerParent.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
MediaSystemResourceManagerParent.h
MediaSystemResourceMessageUtils.h
MediaSystemResourceService.cpp Bug 1387002 - Replace .size() by .empty() when applicable in gmp r=cpearce 2017-08-04 09:09:38 +02:00
MediaSystemResourceService.h
MediaSystemResourceTypes.h
MediaTaskUtils.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
MediaUtils.cpp Bug 1296531 - Break out ShutdownTicket and GetShutdownBarrier from MSG to MediaUtils. r=jib 2017-05-16 12:39:02 +02:00
MediaUtils.h Bug 1425904 - Make the monitor refcounted. r=gerald 2017-12-19 11:11:23 +01:00
moz.build Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
OpenSLESProvider.cpp
OpenSLESProvider.h
OSXRunLoopSingleton.cpp
OSXRunLoopSingleton.h
PCameras.ipdl
PMedia.ipdl
PMediaSystemResourceManager.ipdl
ShmemPool.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
ShmemPool.h Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
VideoEngine.cpp Bug 1418331 - add null protection. r=drno 2017-11-23 23:52:23 +08:00
VideoEngine.h Bug 1399413 - Make VideoEngine & VideoCaptureModule singletons. r=jib 2017-11-02 11:25:14 +08:00
VideoFrameUtils.cpp Bug 1396515: Fix incorrect && and || operator placements. r=sylvestre 2017-09-04 11:27:43 +02:00
VideoFrameUtils.h