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

Issue 10545134: Give Process.kill an optional argument to specify which signal to send. (Closed)

Created:
8 years, 6 months ago by Anders Johnsen
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Give Process.kill an optional argument to specify which signal to send. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8541

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes based on ager's review. #

Total comments: 4

Patch Set 3 : Rename _killed to _ended and fixed type. #

Patch Set 4 : Rename _killed to _ended and fixed typo #

Patch Set 5 : Add USE on signal. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -19 lines) Patch
M runtime/bin/builtin_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/process.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/process.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/process.dart View 1 2 2 chunks +44 lines, -3 lines 0 comments Download
M runtime/bin/process_impl.dart View 1 2 5 chunks +12 lines, -8 lines 0 comments Download
M runtime/bin/process_linux.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/process_macos.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/process_win.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Anders Johnsen
Added ager+sgjesse as I discussed this change with them.
8 years, 6 months ago (2012-06-12 09:04:08 UTC) #1
Anders Johnsen
8 years, 6 months ago (2012-06-12 09:04:32 UTC) #2
Mads Ager (google)
lgtm https://chromiumcodereview.appspot.com/10545134/diff/1/runtime/bin/process.dart File runtime/bin/process.dart (right): https://chromiumcodereview.appspot.com/10545134/diff/1/runtime/bin/process.dart#newcode185 runtime/bin/process.dart:185: * On Posix systems, [ProcessSignal]s is used to ...
8 years, 6 months ago (2012-06-12 09:13:44 UTC) #3
Anders Johnsen
Updated. https://chromiumcodereview.appspot.com/10545134/diff/1/runtime/bin/process.dart File runtime/bin/process.dart (right): https://chromiumcodereview.appspot.com/10545134/diff/1/runtime/bin/process.dart#newcode185 runtime/bin/process.dart:185: * On Posix systems, [ProcessSignal]s is used to ...
8 years, 6 months ago (2012-06-12 09:21:04 UTC) #4
Bill Hesse
LGTM.
8 years, 6 months ago (2012-06-12 10:16:12 UTC) #5
Søren Gjesse
lgtm https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process.dart File runtime/bin/process.dart (right): https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process.dart#newcode96 runtime/bin/process.dart:96: * signal giving, it'll have different meanings. The ...
8 years, 6 months ago (2012-06-12 10:22:25 UTC) #6
Anders Johnsen
8 years, 6 months ago (2012-06-12 12:00:13 UTC) #7
Thanks for the reviews. Committing.

https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process...
File runtime/bin/process.dart (right):

https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process...
runtime/bin/process.dart:96: * signal giving, it'll have different meanings. The
defualt [signal] to
On 2012/06/12 10:22:25, Søren Gjesse wrote:
> defualt -> default

Done.

https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process...
File runtime/bin/process_impl.dart (right):

https://chromiumcodereview.appspot.com/10545134/diff/6001/runtime/bin/process...
runtime/bin/process_impl.dart:181: _killed = true;
On 2012/06/12 10:22:25, Søren Gjesse wrote:
> Maybe this should be named _ended now.

Done.

Powered by Google App Engine
This is Rietveld 408576698