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

Side by Side Diff: runtime/bin/eventhandler_fuchsia.h

Issue 2955023003: Use POLL* rather than EPOLL* event bits on Fuchsia (Closed)
Patch Set: Created 3 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 | « no previous file | runtime/bin/eventhandler_fuchsia.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 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 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 #ifndef RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ 5 #ifndef RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_
6 #define RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ 6 #define RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_
7 7
8 #if !defined(RUNTIME_BIN_EVENTHANDLER_H_) 8 #if !defined(RUNTIME_BIN_EVENTHANDLER_H_)
9 #error Do not include eventhandler_fuchsia.h directly; use eventhandler.h. 9 #error Do not include eventhandler_fuchsia.h directly; use eventhandler.h.
10 #endif 10 #endif
11 11
12 #include <errno.h> 12 #include <errno.h>
13 #include <magenta/status.h> 13 #include <magenta/status.h>
14 #include <magenta/syscalls.h> 14 #include <magenta/syscalls.h>
15 #include <magenta/syscalls/object.h> 15 #include <magenta/syscalls/object.h>
16 #include <magenta/syscalls/port.h> 16 #include <magenta/syscalls/port.h>
17 #include <mxio/private.h> 17 #include <mxio/private.h>
18 #include <sys/epoll.h>
19 #include <sys/socket.h> 18 #include <sys/socket.h>
20 #include <unistd.h> 19 #include <unistd.h>
21 20
22 #include "bin/reference_counting.h" 21 #include "bin/reference_counting.h"
23 #include "bin/thread.h" 22 #include "bin/thread.h"
24 #include "platform/signal_blocker.h" 23 #include "platform/signal_blocker.h"
25 24
26 namespace dart { 25 namespace dart {
27 namespace bin { 26 namespace bin {
28 27
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 bool shutdown_; 163 bool shutdown_;
165 mx_handle_t port_handle_; 164 mx_handle_t port_handle_;
166 165
167 DISALLOW_COPY_AND_ASSIGN(EventHandlerImplementation); 166 DISALLOW_COPY_AND_ASSIGN(EventHandlerImplementation);
168 }; 167 };
169 168
170 } // namespace bin 169 } // namespace bin
171 } // namespace dart 170 } // namespace dart
172 171
173 #endif // RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ 172 #endif // RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/eventhandler_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698