gecko-dev/xpcom/threads
Valentin Gosu 412446f4bc Bug 1500861 - Add shutdownWithTimeout method to nsIThreadPool r=froydnj,erahm
This method is necessary because some threads might be stuck making blocking
calls. This means the thread is not processing any events, and we're unable
to safely terminate it. Our solution here is to leak the stuck threads
instead of waiting for them and potentially causing a shutdown hang.

Differential Revision: https://phabricator.services.mozilla.com/D9601

--HG--
extra : moz-landing-system : lando
2018-10-26 18:46:00 +00:00
..
AbstractEventQueue.h
AbstractThread.cpp
AbstractThread.h
BlockingResourceBase.cpp
BlockingResourceBase.h
CondVar.h
CooperativeThreadPool.cpp
CooperativeThreadPool.h
CPUUsageWatcher.cpp
CPUUsageWatcher.h
DeadlockDetector.h
EventQueue.cpp
EventQueue.h
IdleTaskRunner.cpp Bug 1499725 - make IdleTaskRunner timers more efficient; r=farre 2018-10-22 09:44:50 -04:00
IdleTaskRunner.h Bug 1499725 - make IdleTaskRunner timers more efficient; r=farre 2018-10-22 09:44:50 -04:00
InputEventStatistics.cpp
InputEventStatistics.h
LabeledEventQueue.cpp
LabeledEventQueue.h
LazyIdleThread.cpp Bug 1299118: Implement Long Tasks API internals (not DOM access to it) r=froyd,mstange 2018-10-11 13:22:55 -04:00
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp
MainThreadIdlePeriod.h
MainThreadQueue.h
MainThreadUtils.h
Monitor.h
moz.build Bug 1486400 - add task dispatch/run delays for ChaosMode; r=jesup 2018-09-19 12:02:09 -04:00
MozPromise.h
Mutex.h
nsEnvironment.cpp
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsILabelableRunnable.cpp
nsILabelableRunnable.h
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl Bug 1299118: Implement Long Tasks API internals (not DOM access to it) r=froyd,mstange 2018-10-11 13:22:55 -04:00
nsIThreadInternal.idl
nsIThreadManager.idl Bug 1479035: Part 2 - Get rid of PRThread to nsThread map. r=erahm 2018-07-27 15:26:08 -07:00
nsIThreadPool.idl Bug 1500861 - Add shutdownWithTimeout method to nsIThreadPool r=froydnj,erahm 2018-10-26 18:46:00 +00:00
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium 2018-08-28 15:56:01 +10:00
nsProxyRelease.cpp
nsProxyRelease.h
nsThread.cpp Bug 1488808 Part 17 - Allow paints to happen at the normal time when recording/replaying, r=nical. 2018-10-17 10:16:30 -06:00
nsThread.h Bug 1500861 - Add shutdownWithTimeout method to nsIThreadPool r=froydnj,erahm 2018-10-26 18:46:00 +00:00
nsThreadManager.cpp Bug 1479035: Part 2 - Get rid of PRThread to nsThread map. r=erahm 2018-07-27 15:26:08 -07:00
nsThreadManager.h Bug 1479035: Part 2 - Get rid of PRThread to nsThread map. r=erahm 2018-07-27 15:26:08 -07:00
nsThreadPool.cpp Bug 1500861 - Add shutdownWithTimeout method to nsIThreadPool r=froydnj,erahm 2018-10-26 18:46:00 +00:00
nsThreadPool.h
nsThreadSyncDispatch.h
nsThreadUtils.cpp Bug 1499723 - make IdleRunnableWrapper final; r=farre 2018-10-22 09:44:50 -04:00
nsThreadUtils.h Bug 1495306 - When InitOtherFamilyNames is called during stylo traversal, ensure it posts its runnable back to the main thread. r=kmag 2018-10-01 23:38:55 +02:00
nsTimerImpl.cpp Bug 1498651 - make initial timer target setting more efficient; r=erahm 2018-10-17 19:57:36 -04:00
nsTimerImpl.h Bug 1498651 - make initial timer target setting more efficient; r=erahm 2018-10-17 19:57:36 -04:00
PerformanceCounter.cpp Bug 1477943 - Add a unique id per PerformanceCounter instance - r=baku,froydnj 2018-07-27 11:44:22 +02:00
PerformanceCounter.h Bug 1477943 - Add a unique id per PerformanceCounter instance - r=baku,froydnj 2018-07-27 11:44:22 +02:00
PrioritizedEventQueue.cpp
PrioritizedEventQueue.h
Queue.h
RecursiveMutex.cpp
RecursiveMutex.h
ReentrantMonitor.h
RWLock.cpp
RWLock.h
Scheduler.cpp Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn 2018-09-28 20:54:09 +00:00
Scheduler.h Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn 2018-09-28 20:54:09 +00:00
SchedulerGroup.cpp
SchedulerGroup.h
SharedThreadPool.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
SharedThreadPool.h
StateMirroring.h
StateWatching.h
SynchronizedEventQueue.cpp
SynchronizedEventQueue.h
SyncRunnable.h
SystemGroup.cpp
SystemGroup.h
TaskCategory.h
TaskDispatcher.h
TaskQueue.cpp
TaskQueue.h
ThreadDelay.cpp Bug 1492929 - Disable ChaosMode sleep delay on Windows. r=froydnj 2018-09-21 12:38:43 +00:00
ThreadDelay.h Bug 1486400 - add task dispatch/run delays for ChaosMode; r=jesup 2018-09-19 12:02:09 -04:00
ThreadEventQueue.cpp
ThreadEventQueue.h
ThreadEventTarget.cpp Bug 1488808 Part 16 - Avoid deadlocking in a few places after diverging from the recording, r=froydnj. 2018-10-17 10:15:41 -06:00
ThreadEventTarget.h
ThrottledEventQueue.cpp Bug 1499534: Add Pause, Resume, and IsPaused methods to ThrottledEventQueue. r=froydnj 2018-10-23 06:21:10 +00:00
ThrottledEventQueue.h Bug 1499534: Add Pause, Resume, and IsPaused methods to ThrottledEventQueue. r=froydnj 2018-10-23 06:21:10 +00:00
TimerThread.cpp
TimerThread.h