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

Issue 10440044: Process exit code handling reworked for Windows. (Closed)

Created:
8 years, 7 months ago by Mads Ager (google)
Modified:
8 years, 7 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Process exit code handling reworked for Windows. Simplify the code by relying on the builtin Windows thread pool to wait for all process handles. The additional benefit is that we can have an arbitrary number of processes and are not restricted by the max number of handles for WaitForMultipleObjects. R=sgjesse@google.com BUG=dartbug:1450 TEST=standalone/io/process_many_test.dart Committed: https://code.google.com/p/dart/source/detail?r=7995

Patch Set 1 #

Patch Set 2 : Actually unregister wait operation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -244 lines) Patch
M runtime/bin/process_win.cc View 1 8 chunks +87 lines, -244 lines 0 comments Download
A tests/standalone/io/process_many_script.dart View 1 chunk +10 lines, -0 lines 0 comments Download
A tests/standalone/io/process_many_test.dart View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Mads Ager (google)
8 years, 7 months ago (2012-05-25 11:44:27 UTC) #1
Søren Gjesse
8 years, 7 months ago (2012-05-25 13:08:26 UTC) #2
LGTM!

Simplification FTW!

Powered by Google App Engine
This is Rietveld 408576698