| 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 #ifndef BIN_DBG_CONNECTION_ANDROID_H_ | 5 #ifndef BIN_DBG_CONNECTION_ANDROID_H_ |
| 6 #define BIN_DBG_CONNECTION_ANDROID_H_ | 6 #define BIN_DBG_CONNECTION_ANDROID_H_ |
| 7 | 7 |
| 8 #include <arpa/inet.h> | 8 #include <arpa/inet.h> |
| 9 #include <netdb.h> | 9 #include <netdb.h> |
| 10 #include <sys/socket.h> | 10 #include <sys/socket.h> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 static void SetupPollQueue(); | 23 static void SetupPollQueue(); |
| 24 static void HandleEvent(struct epoll_event* event); | 24 static void HandleEvent(struct epoll_event* event); |
| 25 static void Handler(uword args); | 25 static void Handler(uword args); |
| 26 | 26 |
| 27 // File descriptors for pipes used to communicate with the debugger thread. | 27 // File descriptors for pipes used to communicate with the debugger thread. |
| 28 static int wakeup_fds_[2]; | 28 static int wakeup_fds_[2]; |
| 29 | 29 |
| 30 // File descriptor for the polling queue. | 30 // File descriptor for the polling queue. |
| 31 static int epoll_fd_; | 31 static intptr_t epoll_fd_; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace bin | 34 } // namespace bin |
| 35 } // namespace dart | 35 } // namespace dart |
| 36 | 36 |
| 37 #endif // BIN_DBG_CONNECTION_ANDROID_H_ | 37 #endif // BIN_DBG_CONNECTION_ANDROID_H_ |
| OLD | NEW |