OLD | NEW |
---|---|
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(TARGET_OS_LINUX) | 6 #if defined(TARGET_OS_LINUX) |
7 | 7 |
8 #include "bin/process.h" | 8 #include "bin/process.h" |
9 | 9 |
10 #include <errno.h> // NOLINT | 10 #include <errno.h> // NOLINT |
11 #include <fcntl.h> // NOLINT | 11 #include <fcntl.h> // NOLINT |
12 #include <poll.h> // NOLINT | 12 #include <poll.h> // NOLINT |
13 #include <stdio.h> // NOLINT | 13 #include <stdio.h> // NOLINT |
14 #include <stdlib.h> // NOLINT | 14 #include <stdlib.h> // NOLINT |
15 #include <string.h> // NOLINT | 15 #include <string.h> // NOLINT |
16 #include <sys/wait.h> // NOLINT | 16 #include <sys/wait.h> // NOLINT |
17 #include <unistd.h> // NOLINT | 17 #include <unistd.h> // NOLINT |
18 | 18 |
19 #include "platform/signal_blocker.h" | 19 #include "platform/signal_blocker.h" |
20 #include "bin/fdutils.h" | 20 #include "bin/fdutils.h" |
21 #include "bin/lockers.h" | |
siva
2014/08/12 21:01:29
Ditto comment about lockers.h and thead.h
Ivan Posva
2014/08/12 23:20:46
Acknowledged.
| |
21 #include "bin/log.h" | 22 #include "bin/log.h" |
22 #include "bin/thread.h" | 23 #include "bin/thread.h" |
23 | 24 |
24 | 25 |
25 extern char **environ; | 26 extern char **environ; |
26 | 27 |
27 | 28 |
28 namespace dart { | 29 namespace dart { |
29 namespace bin { | 30 namespace bin { |
30 | 31 |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
733 bzero(&act, sizeof(act)); | 734 bzero(&act, sizeof(act)); |
734 act.sa_handler = SIG_DFL; | 735 act.sa_handler = SIG_DFL; |
735 sigaction(signal, &act, NULL); | 736 sigaction(signal, &act, NULL); |
736 } | 737 } |
737 } | 738 } |
738 | 739 |
739 } // namespace bin | 740 } // namespace bin |
740 } // namespace dart | 741 } // namespace dart |
741 | 742 |
742 #endif // defined(TARGET_OS_LINUX) | 743 #endif // defined(TARGET_OS_LINUX) |
OLD | NEW |