OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <dirent.h> | 5 #include <dirent.h> |
6 #include <errno.h> | 6 #include <errno.h> |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <iterator> | |
brettw
2012/04/04 15:39:14
C++ includes go in a group after the C ones (so wi
halyavin
2012/04/04 16:12:01
Done.
| |
8 #include <signal.h> | 9 #include <signal.h> |
9 #include <stdlib.h> | 10 #include <stdlib.h> |
10 #include <sys/resource.h> | 11 #include <sys/resource.h> |
11 #include <sys/time.h> | 12 #include <sys/time.h> |
12 #include <sys/types.h> | 13 #include <sys/types.h> |
13 #include <sys/wait.h> | 14 #include <sys/wait.h> |
14 #include <unistd.h> | 15 #include <unistd.h> |
15 | 16 |
16 #include <limits> | 17 #include <limits> |
17 #include <set> | 18 #include <set> |
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1324 if (IsChildDead(process)) | 1325 if (IsChildDead(process)) |
1325 return; | 1326 return; |
1326 | 1327 |
1327 BackgroundReaper* reaper = new BackgroundReaper(process, 0); | 1328 BackgroundReaper* reaper = new BackgroundReaper(process, 0); |
1328 PlatformThread::CreateNonJoinable(0, reaper); | 1329 PlatformThread::CreateNonJoinable(0, reaper); |
1329 } | 1330 } |
1330 | 1331 |
1331 #endif // !defined(OS_MACOSX) | 1332 #endif // !defined(OS_MACOSX) |
1332 | 1333 |
1333 } // namespace base | 1334 } // namespace base |
OLD | NEW |