Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Issue 93147: POSIX: don't spawn zombies. (Closed)

Created:
11 years, 8 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

POSIX: don't spawn zombies.

Patch Set 1 #

Total comments: 8

Patch Set 2 : ... #

Patch Set 3 : ... #

Total comments: 10

Patch Set 4 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -27 lines) Patch
M base/process_posix.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M base/process_util.h View 1 chunk +7 lines, -3 lines 0 comments Download
M base/process_util_posix.cc View 1 2 2 chunks +23 lines, -10 lines 0 comments Download
M base/process_util_win.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/browser_main.cc View 3 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/chrome.gyp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/child_process_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/common.vcproj View 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/process_watcher.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/common/process_watcher_posix.cc View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
agl
11 years, 8 months ago (2009-04-24 20:42:49 UTC) #1
Avi (use Gerrit)
On 2009/04/24 20:42:49, agl wrote: > drive by: re chrome/common/process_watcher.cc, you're adding an empty file?
11 years, 8 months ago (2009-04-24 20:54:04 UTC) #2
Evan Martin
LGTM, minor comments follow http://codereview.chromium.org/93147/diff/1/3 File base/process_util_posix.cc (right): http://codereview.chromium.org/93147/diff/1/3#newcode147 Line 147: NOTREACHED(); Typically we try ...
11 years, 8 months ago (2009-04-24 21:19:52 UTC) #3
agl
http://codereview.chromium.org/93147/diff/1/3 File base/process_util_posix.cc (right): http://codereview.chromium.org/93147/diff/1/3#newcode147 Line 147: NOTREACHED(); On 2009/04/24 21:19:53, Evan Martin wrote: > ...
11 years, 8 months ago (2009-04-24 21:28:40 UTC) #4
agl
rerev request
11 years, 8 months ago (2009-04-27 23:10:22 UTC) #5
Evan Martin
ok http://codereview.chromium.org/93147/diff/2001/2003 File base/process_util.h (right): http://codereview.chromium.org/93147/diff/2001/2003#newcode180 Line 180: // a different manner on POSIX. s/on ...
11 years, 8 months ago (2009-04-27 23:34:37 UTC) #6
agl
11 years, 8 months ago (2009-04-28 00:44:14 UTC) #7
http://codereview.chromium.org/93147/diff/2001/2003
File base/process_util.h (right):

http://codereview.chromium.org/93147/diff/2001/2003#newcode180
Line 180: // a different manner on POSIX.
On 2009/04/27 23:34:37, Evan Martin wrote:
> s/on POSIX//  (since it's already at the beginning of the sentence)

Done.

http://codereview.chromium.org/93147/diff/2001/2006
File chrome/browser/browser_main.cc (right):

http://codereview.chromium.org/93147/diff/2001/2006#newcode185
Line 185: void SIGCHLDHandler(int signal) {
On 2009/04/27 23:34:37, Evan Martin wrote:
> Is this any different than SIG_IGN?
> 
> Maybe put a comment in the body of this to the effect of "we ignore SIGCHLD
and
> [mumble] elsewhere".

Done.

http://codereview.chromium.org/93147/diff/2001/2006#newcode212
Line 212: memset(&action, 0, sizeof(action));
On 2009/04/27 23:34:37, Evan Martin wrote:
> struct sigaction action = {0};  ?

Done.

http://codereview.chromium.org/93147/diff/2001/2007
File chrome/browser/renderer_host/browser_render_process_host.cc (right):

http://codereview.chromium.org/93147/diff/2001/2007#newcode678
Line 678: // If the process crashed, then the kernel closed the socket for it
and so
On 2009/04/27 23:34:37, Evan Martin wrote:
> Maybe prefix this comment with "POSIX note:"

Done.

Powered by Google App Engine
This is Rietveld 408576698