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

Issue 39185: Make CrashAwareSleep more accurate on POSIX (checking if the process exists). (Closed)

Created:
11 years, 9 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, agl
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make CrashAwareSleep more accurate on POSIX (checking if the process exists).

Patch Set 1 #

Total comments: 2

Patch Set 2 : wrap success #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M base/process_util_posix.cc View 1 2 chunks +20 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
11 years, 9 months ago (2009-03-05 12:21:50 UTC) #1
Mark Mentovai
I don't see any functional difference here other than being able to DCHECK(waitpid_success). Seems like ...
11 years, 9 months ago (2009-03-05 15:51:34 UTC) #2
Mark Mentovai
http://codereview.chromium.org/39185/diff/1/2 File base/process_util_posix.cc (right): http://codereview.chromium.org/39185/diff/1/2#newcode261 Line 261: return waitpid_success; Oh, never mind my previous comment ...
11 years, 9 months ago (2009-03-05 15:56:27 UTC) #3
agl
11 years, 9 months ago (2009-03-05 21:23:11 UTC) #4
LGTM

http://codereview.chromium.org/39185/diff/1/2
File base/process_util_posix.cc (right):

http://codereview.chromium.org/39185/diff/1/2#newcode234
Line 234: *success = (ret_pid != -1);
outputs at the end of the argument list are generally optional, so you should
wrap this in "if (success) ..."

Powered by Google App Engine
This is Rietveld 408576698