mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
008c780b6b
The new GeckoChildID type introduced in this patch is inspired by the existing ContentParentID type used by ContentParent, but is currently distinct. It is supported by all process types at the GeckoChildProcessHost level and can be read for the current process from anywhere. As this type is similar in many ways to the process type, and should be available as early as possible within child processes, this was added alongside the GeckoProcessType value within mozglue to make that easier to do. The type was chosen to be an int32_t to make it feel similar to a PID, which we currently use for process identity comparisons across the codebase. The intention is for GeckoChildID to be preferred for these within-gecko checks, as these IDs will not be re-used and can be known earlier during child process creation. Differential Revision: https://phabricator.services.mozilla.com/D217117 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
docs | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |