gecko-dev/ipc/mscom
Aaron Klotz 93f41e2170 Bug 1707954: Part 3 - Add eager MTA creation to mscom::EnsureMTA; r=Jamie
* We make `EnsureMTA`'s default constructor `private`, and `ProcessRuntime` a friend.
  `ProcessRuntime` calls this to eagerly create the MTA.
* The default constructor uses the new-ish `CoIncrementMTAUsage` to create the
  MTA without requiring a dedicated thread (when available). Otherwise we
  fall back to the traditional method. In the latter case, we synchronously
  wait for the initialization to complete so that we are guaranteed to have
  an MTA when we return.
* Some minor refactoring to make it easier to do the sync wait in the
  default constructor. I also renamed a couple of things just to make them
  more clear.

Differential Revision: https://phabricator.services.mozilla.com/D113562
2021-06-14 21:53:18 +00:00
..
mozglue Bug 1707954: Part 1 - Change mscom::ProcessRuntime to ensure MTA creation during startup; r=Jamie 2021-06-14 21:53:17 +00:00
oop
ActivationContext.cpp
ActivationContext.h
Aggregation.h
AgileReference.cpp Bug 1519636 - Initial reformat of C/C++ code with clang-format version 12.0.0. r=sylvestre 2021-05-10 07:15:07 +00:00
AgileReference.h
ApartmentRegion.h
AsyncInvoker.h
COMPtrHolder.h
DispatchForwarder.cpp
DispatchForwarder.h
EnsureMTA.cpp Bug 1707954: Part 3 - Add eager MTA creation to mscom::EnsureMTA; r=Jamie 2021-06-14 21:53:18 +00:00
EnsureMTA.h Bug 1707954: Part 3 - Add eager MTA creation to mscom::EnsureMTA; r=Jamie 2021-06-14 21:53:18 +00:00
FastMarshaler.cpp
FastMarshaler.h
IHandlerProvider.h
Interceptor.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
Interceptor.h
InterceptorLog.cpp Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika 2020-12-17 14:58:18 +00:00
InterceptorLog.h
MainThreadHandoff.cpp
MainThreadHandoff.h
MainThreadInvoker.cpp
MainThreadInvoker.h
moz.build
Objref.cpp
Objref.h
PassthruProxy.cpp
PassthruProxy.h
ProcessRuntime.cpp Bug 1707954: Part 1 - Change mscom::ProcessRuntime to ensure MTA creation during startup; r=Jamie 2021-06-14 21:53:17 +00:00
ProcessRuntime.h Bug 1707954: Part 1 - Change mscom::ProcessRuntime to ensure MTA creation during startup; r=Jamie 2021-06-14 21:53:17 +00:00
ProfilerMarkers.cpp Bug 1699742 - Remove MOZ_GECKO_PROFILER ifdefs that are no longer needed, r=gerald. 2021-03-22 16:29:52 +00:00
ProfilerMarkers.h
ProxyStream.cpp Bug 1702244 - Don't try to use manifestPath if ACCESSIBILITY isn't set. r=aklotz 2021-03-31 21:55:21 +00:00
ProxyStream.h
Ptr.h
Registration.cpp Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten 2021-02-27 14:38:14 +00:00
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