gecko-dev/xpcom/threads
Chris Pearce 4eaf999528 Bug 1245789 - Make XPCOMThreadWrapper::GetCurrent() work. r=bholley
XPCOMThreadWrapper::GetCurrent() is failing because it's not keeping
AbstractThread::sCurrentThreadTLS up to date. This causes assertion failures
during startup of the GMP stack when dispatching via InvokeAsync to the GMP
thread, which is an XPCOM thread wrapped by the XPCOMThreadWrapper.

We can trivially initialize AbstractThread::sCurrentThreadTLS to be the
XPCOMThreadWrapper on the target thread, since it's thread-local-storage, and
the target thread won't change.

MozReview-Commit-ID: EIEFZppR2PS
2016-04-12 16:12:22 +12:00
..
AbstractThread.cpp Bug 1245789 - Make XPCOMThreadWrapper::GetCurrent() work. r=bholley 2016-04-12 16:12:22 +12:00
AbstractThread.h Bug 1245789 - Make XPCOMThreadWrapper::GetCurrent() work. r=bholley 2016-04-12 16:12:22 +12:00
BackgroundHangMonitor.cpp Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
BackgroundHangMonitor.h Bug 1219216 - Fix a wrong comment in BackgroundHangMonitor.h. r=gfritzsche 2015-10-28 05:47:00 +01:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1228437 - Add BHR stats from e10s child process. B2G fix by Ting-Yu Chou. r=nchen 2015-12-26 19:34:11 -05:00
HangMonitor.h
LazyIdleThread.cpp Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
LazyIdleThread.h Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj 2016-01-12 15:18:47 +11:00
LeakRefPtr.h
MozPromise.h Bug 1250829 - add customized assertions for completion promises to facilitate promise chaining. r=bobbyholley. 2016-03-18 11:27:19 +08:00
SharedThreadPool.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
SharedThreadPool.h Bug 1236789. Avoid creating an unnecessary thread pool thread for tail-dispatch in TaskQueue. r=bholley 2016-01-05 16:35:17 +13:00
StateMirroring.h Bug 1229299: Use tail dispatch to notify the mirror of new value. r=bholley 2015-12-02 10:41:17 +11:00
StateWatching.h Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj 2015-10-19 12:50:14 -07:00
SyncRunnable.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TaskDispatcher.h Bug 1241656 - Lazify AutoTaskDispatcher::mDirectTasks. r=bholley. 2016-01-25 13:30:42 +11:00
TaskQueue.cpp Bug 1257063 - Don't destruct the runnable inside the lock when TaskQueue::Dispatch fails. r=bobbyholley. 2016-03-18 11:27:15 +08:00
TaskQueue.h Bug 1257063 - Don't destruct the runnable inside the lock when TaskQueue::Dispatch fails. r=bobbyholley. 2016-03-18 11:27:15 +08:00
ThreadStackHelper.cpp bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa 2016-01-27 09:39:53 -05:00
ThreadStackHelper.h
TimerThread.cpp Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE 2016-04-11 12:50:56 -07:00
TimerThread.h
moz.build Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE 2016-04-11 12:50:56 -07:00
nsEnvironment.cpp
nsEnvironment.h
nsEventQueue.cpp Backout upgraded assertion in bug 1204784 to make it easier to star. r=me 2016-01-24 17:02:27 -08:00
nsEventQueue.h
nsICancelableRunnable.idl Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE 2016-04-11 12:50:56 -07:00
nsIEnvironment.idl
nsIEventTarget.idl Bug 1236789. Avoid creating an unnecessary thread pool thread for tail-dispatch in TaskQueue. r=bholley 2016-01-05 16:35:17 +13:00
nsIProcess.idl
nsIRunnable.idl
nsISupportsPriority.idl
nsIThread.idl Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj 2016-01-12 15:18:47 +11:00
nsIThreadInternal.idl Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj 2016-01-12 15:18:47 +11:00
nsIThreadManager.idl
nsIThreadPool.idl Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj 2016-01-12 15:18:47 +11:00
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsThread.cpp Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE 2016-04-11 12:50:56 -07:00
nsThread.h Bug 1204784: Do not shut the main thread down before all outstanding asynchronous thread shutdowns complete. r=froydnj 2016-01-18 09:34:38 -08:00
nsThreadManager.cpp Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
nsThreadManager.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsThreadPool.cpp Bug 1236789. Part 2 - fix assertions when |aFlags == NS_DISPATCH_TAIL|. r=bholley 2016-03-15 13:12:27 +08:00
nsThreadPool.h Bug 1236789. Avoid creating an unnecessary thread pool thread for tail-dispatch in TaskQueue. r=bholley 2016-01-05 16:35:17 +13:00
nsThreadSyncDispatch.h Bug 1237909 part 2 - Do not return value from task for sync dispatch. r=froydnj 2016-01-25 14:52:34 +11:00
nsTimerImpl.cpp Bug 1254218 - Rely on old-configure.in to detect dladdr(). r=njn 2016-03-07 19:00:41 +00:00
nsTimerImpl.h Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj 2015-10-19 12:50:14 -07:00