зеркало из https://github.com/mozilla/gecko-dev.git
93f41e2170
* 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 |
||
---|---|---|
.. | ||
mozglue | ||
oop | ||
ActivationContext.cpp | ||
ActivationContext.h | ||
Aggregation.h | ||
AgileReference.cpp | ||
AgileReference.h | ||
ApartmentRegion.h | ||
AsyncInvoker.h | ||
COMPtrHolder.h | ||
DispatchForwarder.cpp | ||
DispatchForwarder.h | ||
EnsureMTA.cpp | ||
EnsureMTA.h | ||
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 | ||
ProcessRuntime.h | ||
ProfilerMarkers.cpp | ||
ProfilerMarkers.h | ||
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 |