summaryrefslogtreecommitdiff
path: root/ev_vars.h
diff options
context:
space:
mode:
authorroot <root>2008-01-31 13:10:56 +0000
committerroot <root>2008-01-31 13:10:56 +0000
commit606233b22cf296dee6f6e80822515e0cd9789efa (patch)
tree402835830a81b5af8a897f85a0a463b88124ab43 /ev_vars.h
parentafaa55ee34052c328df49751d12c5bfa0898cf86 (diff)
first round of ev_async
Diffstat (limited to 'ev_vars.h')
-rw-r--r--ev_vars.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ev_vars.h b/ev_vars.h
index 4ac997e..c9637f2 100644
--- a/ev_vars.h
+++ b/ev_vars.h
@@ -1,7 +1,7 @@
/*
* loop member variable declarations
*
- * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de>
+ * Copyright (c) 2007,2008 Marc Alexander Lehmann <libev@schmorp.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modifica-
@@ -55,6 +55,9 @@ VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
+VAR (evpipe, int evpipe [2])
+VARx(ev_io, pipeev)
+
#if !defined(_WIN32) || EV_GENWRAP
VARx(pid_t, curpid)
#endif
@@ -137,6 +140,13 @@ VARx(int, forkmax)
VARx(int, forkcnt)
#endif
+#if EV_ASYNC_ENABLE || EV_GENWRAP
+VARx(EV_ATOMIC_T, gotasync)
+VARx(struct ev_async **, asyncs)
+VARx(int, asyncmax)
+VARx(int, asynccnt)
+#endif
+
#if EV_USE_INOTIFY || EV_GENWRAP
VARx(int, fs_fd)
VARx(ev_io, fs_w)