|
|
Make ProcessWatcher use kqueues on Mac.
* Port ProcessWatcher::EnsureProcessTerminated() to kqueue() APIs on OS X.
* Make ProcessWatcher::EnsureProcessGetsReaped() Linux-only, since it's only used there.
* Add a unit test.
BUG= 12731
TEST=Open Chrome/Mac, open and close a few tabs. Processes shouldn't stay around.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34547
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+255 lines, -9 lines) |
Patch |
 |
M |
base/base.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/file_util.h
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/time.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/time_posix.cc
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/time_unittest.cc
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/child_process_launcher.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/process_watcher.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/common/process_watcher_mac.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/process_watcher_posix.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
chrome/common/process_watcher_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|