Chromium Code Reviews
DescriptionLinux: tear down Zygote at browser shutdown.
In BrowserMainLoop::ShutdownThreadsAndCleanUp(), we explicitly call
a new ZygoteHostImpl::TearDownAfterLastChild API to notify the Zygote
to exit after its last child died.
The notification is to simply close the IPC channel to the Zygote.
Before this patch, this would happen implicitly when the browser process
died.
To implement this, we add a lightweight child tracking mechanism to ZygoteHostImpl.
BUG=334345
R=piman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247572
Patch Set 1 #
Total comments: 2
Patch Set 2 : Implement process tracking. #Patch Set 3 : Use tmp_status. #Patch Set 4 : Add child_tracking_lock_ #Patch Set 5 : Don't reset init_. Rely on control_fd_ for DCHECKs. #
Total comments: 2
Patch Set 6 : Don't call TearDown() while holding child_tracking_lock_. #
Messages
Total messages: 13 (0 generated)
|
|||||||||||||||||||||||||||||||||||||