Index: runtime/bin/eventhandler_linux.h |
diff --git a/runtime/bin/eventhandler_linux.h b/runtime/bin/eventhandler_linux.h |
index 073ad6295ed1d7106ae431076e8ce2d4731b8b20..ded09073759d899da765fcf90c1ad6ddd7b05bac 100644 |
--- a/runtime/bin/eventhandler_linux.h |
+++ b/runtime/bin/eventhandler_linux.h |
@@ -94,6 +94,7 @@ class EventHandlerImplementation { |
SocketData* GetSocketData(intptr_t fd); |
void SendData(intptr_t id, Dart_Port dart_port, intptr_t data); |
void StartEventHandler(); |
Søren Gjesse
2012/06/29 11:54:11
Should StartEventHandler be just Start then?
Mads Ager (google)
2012/06/29 14:30:24
Done. Thanks.
|
+ void Shutdown(); |
private: |
intptr_t GetTimeout(); |
@@ -111,6 +112,7 @@ class EventHandlerImplementation { |
HashMap socket_map_; |
int64_t timeout_; // Time for next timeout. |
Dart_Port timeout_port_; |
+ bool shutdown_; |
int interrupt_fds_[2]; |
int epoll_fd_; |
}; |