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

Unified Diff: runtime/bin/eventhandler_macos.h

Issue 212193002: Don't use ThreadSignalBlocker in mac eventhandler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/eventhandler_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_macos.h
diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h
index 4ea1a0150cd4489af6d816434234557c0eb3e281..4e32dc0656f159b44e50d34b16240d075a38b116 100644
--- a/runtime/bin/eventhandler_macos.h
+++ b/runtime/bin/eventhandler_macos.h
@@ -43,13 +43,6 @@ class SocketData {
bool HasReadEvent();
bool HasWriteEvent();
- void Close() {
- port_ = 0;
- mask_ = 0;
- VOID_TEMP_FAILURE_RETRY(close(fd_));
- fd_ = -1;
- }
-
bool IsListeningSocket() { return (mask_ & (1 << kListeningSocket)) != 0; }
void SetPortAndMask(Dart_Port port, intptr_t mask) {
« no previous file with comments | « no previous file | runtime/bin/eventhandler_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698