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

Side by Side Diff: runtime/bin/process_android.cc

Issue 463993002: - Separate the thread implementation used in bin/ and vm/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_ANDROID) 6 #if defined(TARGET_OS_ANDROID)
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 "bin/fdutils.h" 19 #include "bin/fdutils.h"
20 #include "bin/lockers.h"
siva 2014/08/12 21:01:28 included in bin/process.h already so not needed he
Ivan Posva 2014/08/12 23:20:46 Acknowledged.
20 #include "bin/log.h" 21 #include "bin/log.h"
21 #include "bin/thread.h" 22 #include "bin/thread.h"
siva 2014/08/12 21:01:28 Ditto comment about bin/thread.h
Ivan Posva 2014/08/12 23:20:46 Acknowledged.
22 23
23 #include "platform/signal_blocker.h" 24 #include "platform/signal_blocker.h"
24 25
25 26
26 extern char **environ; 27 extern char **environ;
27 28
28 29
29 namespace dart { 30 namespace dart {
30 namespace bin { 31 namespace bin {
31 32
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 bzero(&act, sizeof(act)); 741 bzero(&act, sizeof(act));
741 act.sa_handler = SIG_DFL; 742 act.sa_handler = SIG_DFL;
742 VOID_NO_RETRY_EXPECTED(sigaction(signal, &act, NULL)); 743 VOID_NO_RETRY_EXPECTED(sigaction(signal, &act, NULL));
743 } 744 }
744 } 745 }
745 746
746 } // namespace bin 747 } // namespace bin
747 } // namespace dart 748 } // namespace dart
748 749
749 #endif // defined(TARGET_OS_ANDROID) 750 #endif // defined(TARGET_OS_ANDROID)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698