gecko-dev/xpcom/threads
Andreas Pehrson f12e78691b Bug 1299515 - Make const nsMainThreadPtrHandle<T> usable. r=erahm
This enables having a const nsMainThreadPtrHandle<T> member which we want to
ensure doesn't get assigned to, but whose (the `T`'s) non-const methods are
still usable on main thread. Similar to how RefPtr<T> works.

MozReview-Commit-ID: 8CG0MwIZmLc

--HG--
extra : rebase_source : f0e897d3bf4f9a4d752e964ef63de73a9e710752
2017-11-22 11:24:18 +01:00
..
AbstractEventQueue.h Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
AbstractThread.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
AbstractThread.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
BlockingResourceBase.cpp Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-25 00:37:02 -07:00
BlockingResourceBase.h Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
CondVar.h Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
CooperativeThreadPool.cpp Bug 1412191 - Fix CooperativeThreadPool thread count assertion (r=froydnj) 2017-11-11 21:04:20 -08:00
CooperativeThreadPool.h Bug 1402824 - Add missing includes in CooperativeThreadPool to fix non-unified build. r=billm 2017-09-25 10:37:31 +01:00
CPUUsageWatcher.cpp Bug 1382440 - Fix CPUUsageWatcher on OSX and Linux r=froydnj 2017-08-28 14:00:22 -07:00
CPUUsageWatcher.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
DeadlockDetector.h
EventQueue.cpp Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
EventQueue.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
HangAnnotations.cpp Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj 2017-08-15 16:35:46 -04:00
HangAnnotations.h Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj 2017-08-15 16:35:46 -04:00
HangMonitor.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
HangMonitor.h
IdleTaskRunner.cpp Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
IdleTaskRunner.h Bug 1393581 - Name all IdleTaskRunner runnables, r=smaug 2017-08-25 11:24:27 -04:00
InputEventStatistics.cpp Bug 1402044 - don't inline InputEventStatistics::Get(); r=erahm 2017-10-23 12:15:16 -04:00
InputEventStatistics.h Bug 1402044 - don't inline InputEventStatistics::Get(); r=erahm 2017-10-23 12:15:16 -04:00
LabeledEventQueue.cpp Bug 1397426 - Rename TabChild's notion of "active tabs" to "visible tabs" and move logic into renderLayers. r=billm 2017-11-03 11:27:29 -04:00
LabeledEventQueue.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
LazyIdleThread.cpp Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
LazyIdleThread.h Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1414150 - Remove the "idle_queue.*" prefs. r=farre. 2017-11-08 07:54:16 +11:00
MainThreadIdlePeriod.h Bug 1414150 - Remove the "idle_queue.*" prefs. r=farre. 2017-11-08 07:54:16 +11:00
MainThreadQueue.h Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
MainThreadUtils.h Bug 1393710 - Add thread name into NS_DebugBreak for better debugging. r=froydnj 2017-08-30 11:13:50 +08:00
Monitor.h
moz.build Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
MozPromise.h Bug 1424647: Prevent race on AllPromiseHolder::mPromise. r=jwwang 2017-12-10 23:31:04 +01:00
Mutex.h Bug 1350432 - Add MutexAutoLock::AssertOwns (r=froydnj) 2017-08-25 10:28:23 -07:00
nsEnvironment.cpp Bug 1381727 (part 2) - Remove SmprintfFree(). r=glandium. 2017-07-25 09:09:25 +10:00
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsILabelableRunnable.cpp Bug 1410232 - fix SchedulerGroupSet::Put when transitioning to multiple groups; r=billm 2017-10-23 08:49:41 -04:00
nsILabelableRunnable.h Bug 1399707 - Make entries in TabChild::sActiveTabs and EventLoopActivation::mEventGroups unique. r=billm 2017-09-13 11:59:35 +08:00
nsINamed.idl Bug 1382172 - Compute names for all JS-implemented XPCOM objects (r=mrbkap) 2017-08-14 22:42:42 -07:00
nsIProcess.idl Bug 1400294 - Add 'noShell' attribute to nsIProcess to use CreateProcess() for launching a process that doesn't require shell service on Windows. r=froydnj,r=aklotz,r=dmajor 2017-10-03 11:29:14 +08:00
nsIRunnable.idl Bug 1351148 Part3: Synthesize native input events with priority. f=kats,smaug. r=smaug. 2017-05-19 15:41:24 +08:00
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsIThreadInternal.idl Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsIThreadManager.idl Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
nsIThreadPool.idl
nsITimer.idl Bug 1404198: Part 2a - Add non-virtual constructors for nsITimer. r=njn 2017-10-15 23:10:17 -07:00
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h Bug 1406971 - Change nsProcess to use LaunchApp from IPC, instead of NSPR, on Unix. r=froydnj 2017-10-06 19:58:33 -06:00
nsProcessCommon.cpp Bug 1406971 - Change nsProcess to use LaunchApp from IPC, instead of NSPR, on Unix. r=froydnj 2017-10-06 19:58:33 -06:00
nsProxyRelease.cpp
nsProxyRelease.h Bug 1299515 - Make const nsMainThreadPtrHandle<T> usable. r=erahm 2017-11-22 11:24:18 +01:00
nsThread.cpp Bug 1425566 - Collect telemetry for unlabeled idle runnables. r=erahm 2018-01-03 14:19:03 +01:00
nsThread.h Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
nsThreadManager.cpp Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
nsThreadManager.h Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
nsThreadPool.cpp Bug 1404305 - Include nsCOMArray.h and SystemGroup in nsThreadPool.cpp to fix the build in non-unified mode. r=froydnj 2017-09-28 14:32:26 +01:00
nsThreadPool.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsThreadSyncDispatch.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsThreadUtils.cpp Bug 1426779 - Disable precise runnable leakchecking names on release and beta. r=froydnj 2018-01-04 12:59:02 -08:00
nsThreadUtils.h Bug 1428535 - Revert some unnecessary -Wsuggest-override warning suppressions. 2018-01-17 11:39:34 -08:00
nsTimerImpl.cpp Bug 1404198: Part 2a - Add non-virtual constructors for nsITimer. r=njn 2017-10-15 23:10:17 -07:00
nsTimerImpl.h Bug 1383019: Move more logic under the protection of nsTimerImpl::mMutex, and simplify. r=froydnj, a=abillings 2017-09-14 12:19:24 -05:00
PrioritizedEventQueue.cpp Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
PrioritizedEventQueue.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
Queue.h Bug 1404629 - Make Queue emptiness assertion DEBUG-only (r=froydnj) 2017-10-11 14:05:32 -07:00
RecursiveMutex.cpp
RecursiveMutex.h Bug 1412119 - Re-fix mode lines in xpcom. r=erahm 2017-10-26 14:39:00 -04:00
ReentrantMonitor.h Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
RWLock.cpp
RWLock.h
Scheduler.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
Scheduler.h Bug 1395029 - Scheduler support for blockThreadedExecution (r=froydnj) 2017-11-11 21:04:20 -08:00
SchedulerGroup.cpp Bug 1417107 - Use histogram key suffix 'unlabeled' instead of 'labeled'. r=erahm 2017-12-15 17:02:50 +01:00
SchedulerGroup.h Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
SharedThreadPool.cpp
SharedThreadPool.h
StateMirroring.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
StateWatching.h
SynchronizedEventQueue.cpp Bug 1402824 - Include nsIThreadInteral.h in SynchronizedEventQueue to fix non-unified. r=billm 2017-09-25 10:56:13 +01:00
SynchronizedEventQueue.h Bug 1350432 - Remove mEventObservers to SynchronizedEventQueue (r=froydnj) 2017-08-25 10:28:23 -07:00
SyncRunnable.h
SystemGroup.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
SystemGroup.h Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
TaskCategory.h
TaskDispatcher.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TaskQueue.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TaskQueue.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
ThreadEventQueue.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
ThreadEventQueue.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
ThreadEventTarget.cpp Bug 1410023 - Non-unified build fixes for xpcom/threads. r=froydnj 2017-10-20 17:36:29 +01:00
ThreadEventTarget.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
ThrottledEventQueue.cpp Bug 1350432 - Initial Quantum DOM scheduler implementation, disabled by default (r=froydnj) 2017-08-25 10:28:23 -07:00
ThrottledEventQueue.h
TimerThread.cpp Bug 1383019: Move more logic under the protection of nsTimerImpl::mMutex, and simplify. r=froydnj, a=abillings 2017-09-14 12:19:24 -05:00
TimerThread.h Bug 1383019: Move more logic under the protection of nsTimerImpl::mMutex, and simplify. r=froydnj, a=abillings 2017-09-14 12:19:24 -05:00