gecko-dev/ipc/mscom
Aaron Klotz 8b94200412 Bug 1566955: Make EnsureMTA fully thread-safe; r=Jamie
Until now we asserted that EnsureMTA was being called from the main thread
unless the current thread was already in the MTA.

This patch makes MTA thread initialization thread-safe by using a C++11
"magic static," thus allowing EnsureMTA to be safely invoked from any thread.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 00:48:41 +00:00
..
mozglue Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj 2019-05-29 22:49:42 +00:00
oop
ActivationContext.cpp
ActivationContext.h
Aggregation.h
AgileReference.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
AgileReference.h
ApartmentRegion.h
AsyncInvoker.h
COMPtrHolder.h
DispatchForwarder.cpp
DispatchForwarder.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
EnsureMTA.cpp Bug 1566955: Make EnsureMTA fully thread-safe; r=Jamie 2019-07-18 00:48:41 +00:00
EnsureMTA.h Bug 1566955: Make EnsureMTA fully thread-safe; r=Jamie 2019-07-18 00:48:41 +00:00
FastMarshaler.cpp
FastMarshaler.h
IHandlerProvider.h
Interceptor.cpp
Interceptor.h
InterceptorLog.cpp
InterceptorLog.h
MainThreadHandoff.cpp
MainThreadHandoff.h
MainThreadInvoker.cpp
MainThreadInvoker.h
Objref.cpp
Objref.h
PassthruProxy.cpp
PassthruProxy.h
ProcessRuntime.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
ProcessRuntime.h Bug 1535704: Part 4 - When sandboxed, mscom::ProcessRuntime must make the MTA thread impersonate using the main thread's token; r=bobowen 2019-04-23 17:54:14 +00:00
ProxyStream.cpp
ProxyStream.h
Ptr.h
Registration.cpp
Registration.h
RegistrationAnnotator.cpp
RegistrationAnnotator.h
SpinEvent.cpp
SpinEvent.h
StructStream.cpp
StructStream.h
Utils.cpp
Utils.h
VTableBuilder.c
VTableBuilder.h
WeakRef.cpp
WeakRef.h
moz.build