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

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

Issue 2168193002: Fuchsia: Build standalone VM. Make it run "Hello, World!". (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 5 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
« no previous file with comments | « runtime/bin/platform_fuchsia.cc ('k') | runtime/bin/socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 #if !defined(DART_IO_DISABLED)
6
7 #include "platform/globals.h"
8 #if defined(TARGET_OS_FUCHSIA)
9
10 #include "bin/process.h"
11
12 #include "bin/lockers.h"
13 #include "platform/assert.h"
14
15
16 namespace dart {
17 namespace bin {
18
19 int Process::global_exit_code_ = 0;
20 Mutex* Process::global_exit_code_mutex_ = new Mutex();
21
22 void Process::TerminateExitCodeHandler() {
23 }
24
25 intptr_t Process::CurrentProcessId() {
26 UNIMPLEMENTED();
27 return 0;
28 }
29
30 intptr_t Process::SetSignalHandler(intptr_t signal) {
31 UNIMPLEMENTED();
32 return -1;
33 }
34
35
36 void Process::ClearSignalHandler(intptr_t signal) {
37 UNIMPLEMENTED();
38 }
39
40 bool Process::Wait(intptr_t pid,
41 intptr_t in,
42 intptr_t out,
43 intptr_t err,
44 intptr_t exit_event,
45 ProcessResult* result) {
46 UNIMPLEMENTED();
47 return false;
48 }
49
50 bool Process::Kill(intptr_t id, int signal) {
51 UNIMPLEMENTED();
52 return false;
53 }
54
55 int Process::Start(const char* path,
56 char* arguments[],
57 intptr_t arguments_length,
58 const char* working_directory,
59 char* environment[],
60 intptr_t environment_length,
61 ProcessStartMode mode,
62 intptr_t* in,
63 intptr_t* out,
64 intptr_t* err,
65 intptr_t* id,
66 intptr_t* exit_event,
67 char** os_error_message) {
68 UNIMPLEMENTED();
69 return -1;
70 }
71
72 } // namespace bin
73 } // namespace dart
74
75 #endif // defined(TARGET_OS_FUCHSIA)
76
77 #endif // !defined(DART_IO_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/platform_fuchsia.cc ('k') | runtime/bin/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698