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

Issue 299003003: Fix GN hang spawning a process. (Closed)

Created:
6 years, 7 months ago by brettw
Modified:
6 years, 7 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fix GN hang spawning a process. I "cleverly" used std::copy assuming it would not malloc or lock, but it does in the debug build of the STL (at least) to do some verification. This causes the fork to hang on Posix. This version matches the base code. BUG= R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272571

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M tools/gn/function_exec_script.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
brettw
6 years, 7 months ago (2014-05-22 21:49:01 UTC) #1
viettrungluu
lgtm
6 years, 7 months ago (2014-05-22 22:18:18 UTC) #2
brettw
6 years, 7 months ago (2014-05-23 18:57:21 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r272571 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698