ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_vars.h
(Generate patch)

Comparing libev/ev_vars.h (file contents):
Revision 1.42 by root, Sat Oct 23 22:25:44 2010 UTC vs.
Revision 1.45 by root, Mon Jan 10 01:58:55 2011 UTC

1/* 1/*
2 * loop member variable declarations 2 * loop member variable declarations
3 * 3 *
4 * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann <libev@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
100#endif 100#endif
101 101
102#if EV_USE_EPOLL || EV_GENWRAP 102#if EV_USE_EPOLL || EV_GENWRAP
103VARx(struct epoll_event *, epoll_events) 103VARx(struct epoll_event *, epoll_events)
104VARx(int, epoll_eventmax) 104VARx(int, epoll_eventmax)
105VARx(int *, epoll_eperms)
106VARx(int, epoll_epermcnt)
107VARx(int, epoll_epermmax)
105#endif 108#endif
106 109
107#if EV_USE_KQUEUE || EV_GENWRAP 110#if EV_USE_KQUEUE || EV_GENWRAP
108VARx(struct kevent *, kqueue_changes) 111VARx(struct kevent *, kqueue_changes)
109VARx(int, kqueue_changemax) 112VARx(int, kqueue_changemax)
154VARx(struct ev_fork **, forks) 157VARx(struct ev_fork **, forks)
155VARx(int, forkmax) 158VARx(int, forkmax)
156VARx(int, forkcnt) 159VARx(int, forkcnt)
157#endif 160#endif
158 161
162#if EV_CLEANUP_ENABLE || EV_GENWRAP
163VARx(struct ev_cleanup **, cleanups)
164VARx(int, cleanupmax)
165VARx(int, cleanupcnt)
166#endif
167
159#if EV_ASYNC_ENABLE || EV_GENWRAP 168#if EV_ASYNC_ENABLE || EV_GENWRAP
160VARx(EV_ATOMIC_T, async_pending) 169VARx(EV_ATOMIC_T, async_pending)
161VARx(struct ev_async **, asyncs) 170VARx(struct ev_async **, asyncs)
162VARx(int, asyncmax) 171VARx(int, asyncmax)
163VARx(int, asynccnt) 172VARx(int, asynccnt)
169VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ 178VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */
170VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) 179VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
171#endif 180#endif
172 181
173VARx(EV_ATOMIC_T, sig_pending) 182VARx(EV_ATOMIC_T, sig_pending)
183VARx(int, nosigmask)
174#if EV_USE_SIGNALFD || EV_GENWRAP 184#if EV_USE_SIGNALFD || EV_GENWRAP
175VARx(int, sigfd) 185VARx(int, sigfd)
176VARx(ev_io, sigfd_w) 186VARx(ev_io, sigfd_w)
177VARx(sigset_t, sigfd_set) 187VARx(sigset_t, sigfd_set)
178#endif 188#endif
179 189
190VARx(unsigned int, origflags) /* original loop flags */
191
180#if EV_FEATURE_API || EV_GENWRAP 192#if EV_FEATURE_API || EV_GENWRAP
181VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ 193VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */
182VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ 194VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */
183 195
184VARx(void *, userdata) 196VARx(void *, userdata)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines