summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2008-04-02 06:34:50 +0000
committerroot <root>2008-04-02 06:34:50 +0000
commit44f698ae2a749d552fab07dd450d4085f8f83531 (patch)
tree6b3f47ef0dbd6593ea22d07f5075b7bd4ed08e10 /ev.h
parent812df45ef78bee506a4923d2b1498cdc66aebff1 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.h b/ev.h
index 5a3d152..11b7cc2 100644
--- a/ev.h
+++ b/ev.h
@@ -326,6 +326,8 @@ typedef struct ev_async
EV_ATOMIC_T sent; /* private */
} ev_async;
+
+# define ev_async_pending(w) (((w)->sent + 0)
#endif
/* the presence of this union forces similar struct layout */