gecko-dev/xpcom/threads
Andreas Farre 3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02: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 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
MainThreadIdlePeriod.h Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
MozPromise.h Bug 1300476 - Prevent passing references through InvokeAsync - r=froydnj 2016-10-27 15:13:37 +11:00
SharedThreadPool.cpp Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj 2016-05-24 14:45:44 -07:00
SharedThreadPool.h Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
StateMirroring.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
StateWatching.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
SyncRunnable.h Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
TaskDispatcher.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
TaskQueue.cpp Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
TaskQueue.h Bug 1300118 P5 Expose the TaskQueue backlog ImpreciseLengthForHeuristics(). r=bholley 2016-09-13 20:12:15 -07: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
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 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsEnvironment.cpp
nsEnvironment.h
nsEventQueue.cpp Bug 1267819: Add a diagnostic assertion. r=froydnj 2016-06-28 10:47:23 -07:00
nsEventQueue.h
nsICancelableRunnable.h Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj 2016-05-24 14:45:44 -07:00
nsIEnvironment.idl
nsIEventTarget.idl Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
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
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 Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
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 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsThread.h Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug 2016-08-22 14:52:45 +02:00
nsThreadManager.cpp Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsThreadManager.h Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj. 2016-06-10 16:04:49 +10:00
nsThreadPool.cpp Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
nsThreadPool.h Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj 2016-06-01 10:04:54 +10:00
nsThreadSyncDispatch.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
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