summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-02-01 13:08:54 +0000
committerroot <root>2008-02-01 13:08:54 +0000
commitd52ca93cfac88b05c2ad9caac1a9c44a3c17b4ae (patch)
tree6fb1ad69316334b7d07f45c184f9a7554d2aa38c
parentd21139184d6b816c5ff1218f5c4e1acde9be02fc (diff)
*** empty log message ***
-rw-r--r--Changes1
-rw-r--r--ev.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changes b/Changes
index 30af0f2..5fdbff8 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
Revision history for libev, a high-performance and full-featured event loop
+3.1
- implement ev_asnc watchers.
- only initialise signal pipe on demand.
- make use of sig_atomic_t configurable.
diff --git a/ev.h b/ev.h
index 4dab80d..50bd57e 100644
--- a/ev.h
+++ b/ev.h
@@ -489,7 +489,7 @@ void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revent
#define ev_check_set(ev) /* nop, yes, this is a serious in-joke */
#define ev_embed_set(ev,other_) do { (ev)->other = (other_); } while (0)
#define ev_fork_set(ev) /* nop, yes, this is a serious in-joke */
-#define ev_async_set(ev) do { (ev)->gotasync = 0; } while (0)
+#define ev_async_set(ev) do { (ev)->sent = 0; } while (0)
#define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
#define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0)