From 606233b22cf296dee6f6e80822515e0cd9789efa Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 Jan 2008 13:10:56 +0000 Subject: first round of ev_async --- ev_vars.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ev_vars.h') 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 + * Copyright (c) 2007,2008 Marc Alexander Lehmann * 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) -- cgit v1.2.3