gecko-dev/xpcom/threads
Gerald Squelart 43d8fb333c Bug 1313497 - InvokeAsync taking a lambda - r=froydnj
This new InvokeAsync overload takes a single lambda (or any function object).
This is most useful when a method call is not strictly necessary.

Avoid obvious copies by refusing lvalue-references.
(If one day this is really needed, the implementation is already there, hidden
inside `namespace detail`).

MozReview-Commit-ID: 57gPBz9kO1q

--HG--
extra : rebase_source : c9330ca2b6d06dac0318f38a68dadbbccc112325
2016-11-13 11:13:07 +11:00
..
AbstractThread.cpp Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
AbstractThread.h Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
BackgroundHangMonitor.cpp Bug 1312080 - Repeated calls to BackgroundHangMonitor::NotifyWait shouldn't unnecessarily wake the BackgroundHangThread. r=billm 2016-10-21 14:56:32 -04:00
BackgroundHangMonitor.h Bug 1310880 - Allow a BackgroundHangMonitor to have its own private BackgroundHangThread. r=jchen 2016-10-19 14:32:43 -04:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1302914 - Use GetThreadContext after calling SuspendThread to ensure threads are really suspended. r=froydnj 2016-09-29 20:05:36 +02:00
HangMonitor.h
LazyIdleThread.cpp Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly 2016-11-03 18:47:23 +01:00
MainThreadIdlePeriod.h Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly 2016-11-03 18:47:23 +01:00
MozPromise.h Bug 1313497 - InvokeAsync taking a lambda - r=froydnj 2016-11-13 11:13:07 +11:00
SharedThreadPool.cpp
SharedThreadPool.h
StateMirroring.h
StateWatching.h Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj 2016-11-04 16:21:59 -07:00
SyncRunnable.h
TaskDispatcher.h Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj 2016-11-04 16:21:59 -07:00
TaskQueue.cpp Bug 1225731 - Early bailout from TaskQueue::DispatchLocked(). r=froydnj 2016-11-10 15:45:45 +08:00
TaskQueue.h Bug 1316529. Part 2 - remove TaskQueue::DispatchMode. r=froydnj 2016-11-10 15:34:35 +08:00
ThreadStackHelper.cpp Bug 1312597 - Increase ThreadStackHelper's initial max buffer size to avoid (chrome script) placeholder in BHR pseudostacks. r=jchen 2016-10-25 14:28:23 -04:00
ThreadStackHelper.h
ThrottledEventQueue.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
ThrottledEventQueue.h Bug 1300659 P1 Add the ThrottledEventQueue class. r=froydnj 2016-11-07 12:30:17 -08:00
TimerThread.cpp Bug 1310925: Acquire a reference before unlocking, just in case. r=froydnj 2016-10-18 09:42:13 -05:00
TimerThread.h Bug 1307350: Compensate for repeating timers that have not been appropriately cancelled. r=froydnj 2016-10-04 10:23:39 -05:00
moz.build Bug 1300659 P1 Add the ThrottledEventQueue class. r=froydnj 2016-11-07 12:30:17 -08:00
nsEnvironment.cpp
nsEnvironment.h
nsEventQueue.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsEventQueue.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIIncrementalRunnable.h Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIProcess.idl
nsIRunnable.idl bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsISupportsPriority.idl
nsIThread.idl Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIThreadInternal.idl
nsIThreadManager.idl
nsIThreadPool.idl
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp Bug 1310116 - Allow waitpid but warn on creating processes in content. r=jld 2016-10-25 20:43:42 +02:00
nsThread.cpp Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow 2016-11-10 10:01:51 +01:00
nsThread.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadManager.cpp Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsThreadManager.h
nsThreadPool.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadPool.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadSyncDispatch.h
nsTimerImpl.cpp Bug 1307350: Compensate for repeating timers that have not been appropriately cancelled. r=froydnj 2016-10-04 10:23:39 -05:00
nsTimerImpl.h Bug 1157323 - Part 6: Some comment improvements. r=froydnj 2016-08-05 13:46:07 -05:00