gecko-dev/xpcom/threads
Nika Layzell 1662a8faa6 Bug 1729458 - Part 1: Simplify DomPromiseListener, r=smaug,rpl
This makes a couple of changes, including removing the call to
AppendNativeHandler from the constructor, and using the nullable nature of
std::function instead of wrapping them in Maybe.

The main advantage of this change, however, is that it no longer acquires a
reference to `this` during the constructor, which could be unsafe.

Differential Revision: https://phabricator.services.mozilla.com/D124827
2021-09-14 15:02:58 +00:00
..
AbstractThread.cpp Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
AbstractThread.h Bug 1724867 - Allow using IsOnCurrentThread on AbstractThread. r=xpcom-reviewers,nika 2021-08-10 08:04:49 +00:00
BlockingResourceBase.cpp Bug 1727563 - Implement TryLock methods and RAII helpers for RWLock. r=xpcom-reviewers,nika 2021-09-08 10:40:07 +00:00
BlockingResourceBase.h Bug 1515229 - Make MozStackWalk/MozWalkTheStack frame skipping more reliable. r=gerald,nika,bobowen,jld 2021-04-16 04:06:02 +00:00
CPUUsageWatcher.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CPUUsageWatcher.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
CondVar.h Bug 1676361 - Clean up profiler includes. r=gerald 2020-11-23 16:09:13 +00:00
DataMutex.h Bug 1671403 - DataMutexBase::Mutex() gives const& access to the mutex - r=sg 2020-11-19 11:47:08 +00:00
DeadlockDetector.h Bug 1184468 - Use nsBaseHashtable::Values. r=xpcom-reviewers,nika 2021-03-24 17:56:49 +00:00
DelayedRunnable.cpp Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
DelayedRunnable.h Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
EventQueue.cpp Bug 1632733 - Always use InputTaskManager for InputHigh tasks regardless InputEventQueueState r=smaug 2021-06-16 19:54:37 +00:00
EventQueue.h Bug 1708042, add control priority to the main thread, r=bas 2021-05-21 15:46:45 +00:00
IdlePeriodState.cpp Bug 1683031 - pt 5. Add an assertion and document idle request IDs r=smaug 2020-12-22 17:56:46 +00:00
IdlePeriodState.h Bug 1713320, ensure idle tasks get run, r=bas 2021-05-31 13:32:36 +00:00
IdleTaskRunner.cpp Bug 1727960 - Use the start time of an idle task when nsRefreshDriver is ticking r=smaug, 2021-09-02 01:17:28 +00:00
IdleTaskRunner.h Bug 1727960 - Use the start time of an idle task when nsRefreshDriver is ticking r=smaug, 2021-09-02 01:17:28 +00:00
InputEventStatistics.cpp Bug 1697585 - Make input tasks can be more strictly aligned with Vsync r=smaug 2021-04-14 19:56:42 +00:00
InputEventStatistics.h Bug 1697585 - Make input tasks can be more strictly aligned with Vsync r=smaug 2021-04-14 19:56:42 +00:00
InputTaskManager.cpp Bug 1632733 - Always use InputTaskManager for InputHigh tasks regardless InputEventQueueState r=smaug 2021-06-16 19:54:37 +00:00
InputTaskManager.h Bug 1632733 - Always use InputTaskManager for InputHigh tasks regardless InputEventQueueState r=smaug 2021-06-16 19:54:37 +00:00
LazyIdleThread.cpp
LazyIdleThread.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
LeakRefPtr.h
MainThreadIdlePeriod.cpp
MainThreadIdlePeriod.h
MainThreadUtils.h Bug 1718262 - Remove duplicated declaration of NS_GetCurrentThread. r=mccr8 2021-06-25 18:35:09 +00:00
Monitor.h
MozPromise.h Bug 1629064 - pt 9. Use the current idle slice to start the GC if we can r=smaug 2021-05-12 06:46:11 +00:00
MozPromiseInlines.h Bug 1729458 - Part 1: Simplify DomPromiseListener, r=smaug,rpl 2021-09-14 15:02:58 +00:00
Mutex.h Bug 1727558 - Implement an RAII class for Mutex::TryLock. r=xpcom-reviewers,nika 2021-09-01 10:10:24 +00:00
PerformanceCounter.cpp
PerformanceCounter.h
Queue.h Bug 1706365 - Part 1: Safely invoke destructors and constructors in mozilla::Queue, r=xpcom-reviewers,kmag 2021-05-06 20:05:34 +00:00
RWLock.cpp Bug 1727563 - Implement TryLock methods and RAII helpers for RWLock. r=xpcom-reviewers,nika 2021-09-08 10:40:07 +00:00
RWLock.h Bug 1727563 - Implement TryLock methods and RAII helpers for RWLock. r=xpcom-reviewers,nika 2021-09-08 10:40:07 +00:00
RecursiveMutex.cpp
RecursiveMutex.h
ReentrantMonitor.h Bug 1676361 - Clean up profiler includes. r=gerald 2020-11-23 16:09:13 +00:00
SchedulerGroup.cpp Bug 1718333 - Remove unnecessary AssertLinkThread assertions, r=handyman 2021-07-15 21:09:55 +00:00
SchedulerGroup.h Bug 1675820 - Part 6: Make DocGroup cycle-collected, r=farre,smaug 2021-03-18 19:24:50 +00:00
SharedThreadPool.cpp Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
SharedThreadPool.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
SpinEventLoopUntil.h Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
StateMirroring.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
StateWatching.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
SyncRunnable.h Bug 1595994 - P14. Don't dealock if we failed to dispatch a task and return error code. r=mattwoodrow 2020-10-20 23:28:10 +00:00
SynchronizedEventQueue.cpp
SynchronizedEventQueue.h Bug 1669256 - Part 5: Remove dead code from ProcessNextEvent and its supporting functions. r=smaug 2020-10-09 17:38:15 +00:00
TaskCategory.h
TaskController.cpp Bug 1728866 - Remove the word 'thread' from TaskController thread names, r=bas. 2021-09-09 20:21:45 +00:00
TaskController.h Bug 1727517 - Require task controller tasks to have a name, r=bas. 2021-08-31 13:41:45 +00:00
TaskDispatcher.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
TaskQueue.cpp Bug 1678149 - Use a mozilla::Queue in TaskQueue r=xpcom-reviewers,mccr8 2021-08-25 14:10:06 +00:00
TaskQueue.h Bug 1678149 - Use a mozilla::Queue in TaskQueue r=xpcom-reviewers,mccr8 2021-08-25 14:10:06 +00:00
ThreadBound.h
ThreadDelay.cpp
ThreadDelay.h
ThreadEventQueue.cpp Bug 1708042, add control priority to the main thread, r=bas 2021-05-21 15:46:45 +00:00
ThreadEventQueue.h Bug 1669256 - Part 5: Remove dead code from ProcessNextEvent and its supporting functions. r=smaug 2020-10-09 17:38:15 +00:00
ThreadEventTarget.cpp Bug 1715257 - Remove Task Tracer code from the profiler, r=gerald,necko-reviewers. 2021-06-17 09:33:00 +00:00
ThreadEventTarget.h Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
ThreadLocalVariables.cpp
ThrottledEventQueue.cpp Bug 1669256 - Part 3: Remove priority related code from ThreadEventQueue. r=smaug 2020-10-09 16:57:40 +00:00
ThrottledEventQueue.h
TimerThread.cpp Bug 1728544 - Make the MarkerSchema::Searchable enum class values CamelCased r=gerald 2021-09-03 14:30:10 +00:00
TimerThread.h Bug 1728228 - Add profiler markers in the Timer thread to understand its activity, r=gerald,smaug,KrisWright. 2021-08-31 13:41:46 +00:00
VsyncTaskManager.cpp Bug 1708070 - Use VsyncTaskManager::WillRunTask to change InputVsyncState r=smaug 2021-04-29 16:39:30 +00:00
VsyncTaskManager.h Bug 1708070 - Use VsyncTaskManager::WillRunTask to change InputVsyncState r=smaug 2021-04-29 16:39:30 +00:00
components.conf
moz.build Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
nsEnvironment.cpp
nsEnvironment.h
nsICancelableRunnable.h Bug 1119956 add CancelableRunnable documentation to clarify expectations r=sg 2020-12-01 10:05:21 +00:00
nsIDelayedRunnableObserver.h Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
nsIDirectTaskDispatcher.idl
nsIDiscardableRunnable.h Bug 1119956 introduce DiscardableRunnable for tasks that might not run but might not implement cancellation r=asuth,sg 2020-12-02 09:36:25 +00:00
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl Bug 1708042, add control priority to the main thread, r=bas 2021-05-21 15:46:45 +00:00
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl
nsIThreadInternal.idl
nsIThreadManager.idl Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers 2021-03-17 08:07:48 +00:00
nsIThreadPool.idl
nsITimer.idl Bug 1729689 - Do not require nsITimerCallback implementations to implement nsINamed on release or beta, as runnables don't have names there, r=smaug. 2021-09-09 12:54:11 +00:00
nsMemoryPressure.cpp Bug 1701368 - Part3: Remove the MemPressure_Ongoing request. r=gsvelto 2021-07-06 22:30:58 +00:00
nsMemoryPressure.h Bug 1701368 - Part3: Remove the MemPressure_Ongoing request. r=gsvelto 2021-07-06 22:30:58 +00:00
nsProcess.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsProcessCommon.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsProxyRelease.cpp Bug 1727497 - Return Dispatch result from NS_ProxyRelease; r=dom-storage-reviewers,xpcom-reviewers,nika,janv 2021-09-14 13:17:55 +00:00
nsProxyRelease.h Bug 1727497 - Return Dispatch result from NS_ProxyRelease; r=dom-storage-reviewers,xpcom-reviewers,nika,janv 2021-09-14 13:17:55 +00:00
nsThread.cpp Bug 1728544 - Make the MarkerSchema::Format enum class values CamelCased r=gerald 2021-09-03 14:30:10 +00:00
nsThread.h Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
nsThreadManager.cpp Backed out 2 changesets (bug 1707924) for multiple failures with crash [@ BackgroundEventTarget::CreateBackgroundTaskQueue(char const*)]. CLOSED TREE 2021-04-30 06:20:24 +03:00
nsThreadManager.h Bug 1695580 - In xpcom, cancel pending DelayedRunnable timers on shutdown. r=KrisWright 2021-04-06 20:15:11 +00:00
nsThreadPool.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
nsThreadPool.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsThreadSyncDispatch.h
nsThreadUtils.cpp Bug 1718154 - Remove unneeded MOZILLA_INTERNAL_API from nsThreadUtils.cpp. r=glandium 2021-06-25 03:06:35 +00:00
nsThreadUtils.h Bug 1727137 - Require IdleRunnable instances to have a name, r=bas. 2021-08-31 13:41:45 +00:00
nsTimerImpl.cpp Bug 1726177: For repeating precise, keep the cadence when we finish firing late. r=xpcom-reviewers,nika,jesup 2021-09-03 21:59:00 +00:00
nsTimerImpl.h Bug 1728228 - Add profiler markers in the Timer thread to understand its activity, r=gerald,smaug,KrisWright. 2021-08-31 13:41:46 +00:00