aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-05 23:33:05 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-05 23:33:05 -0700
commit8a263952adb3275be54cd59c04a657109fe341b7 (patch)
treeaffc27d947cd7400d9b160dcdd91b5abee42e3b4 /env_universal_common.h
parentf27232bd0aa10be26aeb268b201a6b77bab08a1c (diff)
Fix named pipe universal notifier. No more threads. Tests now pass.
Diffstat (limited to 'env_universal_common.h')
-rw-r--r--env_universal_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/env_universal_common.h b/env_universal_common.h
index 2c7fef1f..05e9fc76 100644
--- a/env_universal_common.h
+++ b/env_universal_common.h
@@ -308,7 +308,7 @@ public:
virtual bool poll();
/* Indicates whether this notifier requires polling. */
- virtual bool needs_polling() const;
+ bool needs_polling() const;
/* Triggers a notification */
virtual void post_notification();
@@ -320,7 +320,7 @@ public:
virtual int notification_fd();
/* The notification_fd is readable; drain it. Returns true if a notification is considered to have been posted. */
- virtual bool drain_notification_fd(int fd);
+ virtual bool notification_fd_became_readable(int fd);
};
std::string get_machine_identifier();