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 Bug 1674904: Part 3 - Replace dll reg code in mscom/oop/Handler with calls to mscom/oop/Module; r=Jamie 2020-11-04 22:11:23 +00:00
ActivationContext.cpp
ActivationContext.h Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio 2020-11-23 15:49:14 +00:00
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 Bug 1674902: Part 4 - Some mscom::ApartmentRegion cleanup; r=Jamie 2020-11-03 16:55:21 +00:00
AsyncInvoker.h Bug 1677212: Improved aIsProxy handling within mscom::AsyncInvoker; r=Jamie 2020-11-16 01:19:54 +00:00
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
Objref.cpp Bug 1674902: Part 2 - Use CLSID_NULL instead of a distinct null CLSID; r=Jamie 2020-11-03 16:54:50 +00:00
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 Backed out 6 changesets (bug 1674902) for build bustage on a CLOSED TREE 2020-11-03 17:47:35 +02:00
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 Bug 1674452: Add interface information to ORPC profiler markers; r=Jamie 2020-11-16 19:50:42 +00:00
Utils.h Bug 1674452: Add interface information to ORPC profiler markers; r=Jamie 2020-11-16 19:50:42 +00:00
VTableBuilder.c
VTableBuilder.h
WeakRef.cpp
WeakRef.h
moz.build Bug 1675370: Mark /ipc/mscom as exclusive to Windows; r=firefox-build-system-reviewers,dmajor 2020-11-04 21:40:04 +00:00