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 Bug 1528651 - Fix warnings and re-enable warnings-as-errors in ipc/mscom/. r=aklotz 2019-02-20 20:57:00 +09:00
ActivationContext.cpp Bug 1528651 - Another follow-up to fix warnings on beta/release builds. r=aklotz 2019-03-05 20:18:48 +00:00
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 Bug 1400344: Rename mscom::MainThreadRuntime to mscom::ProcessRuntime and make it aware of Win32k lockdown and of multiple instantiations; r=Jamie 2019-02-14 18:56:20 +00:00
AsyncInvoker.h
COMPtrHolder.h Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
DispatchForwarder.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
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 Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
Interceptor.h
InterceptorLog.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
InterceptorLog.h
MainThreadHandoff.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
MainThreadHandoff.h
MainThreadInvoker.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
MainThreadInvoker.h
moz.build Bug 1528651 - Fix warnings and re-enable warnings-as-errors in ipc/mscom/. r=aklotz 2019-02-20 20:57:00 +09:00
Objref.cpp
Objref.h
PassthruProxy.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
PassthruProxy.h Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
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 Bug 1528651 - Another follow-up to fix warnings on beta/release builds. r=aklotz 2019-03-05 20:18:48 +00:00
ProxyStream.h
Ptr.h Bug 1400344: Rename mscom::MainThreadRuntime to mscom::ProcessRuntime and make it aware of Win32k lockdown and of multiple instantiations; r=Jamie 2019-02-14 18:56:20 +00:00
Registration.cpp Bug 1536642: Ensure that mscom::RegisteredProxy move assignment correctly releases its references; r=Jamie 2019-03-20 00:29:27 +00:00
Registration.h Bug 1536642: Ensure that mscom::RegisteredProxy move assignment correctly releases its references; r=Jamie 2019-03-20 00:29:27 +00:00
RegistrationAnnotator.cpp
RegistrationAnnotator.h
SpinEvent.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
SpinEvent.h
StructStream.cpp
StructStream.h
Utils.cpp
Utils.h
VTableBuilder.c
VTableBuilder.h
WeakRef.cpp
WeakRef.h