зеркало из 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 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |