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.47 by root, Sat Jun 4 05:33:29 2011 UTC vs.
Revision 1.50 by root, Mon Apr 2 18:39:54 2012 UTC

1/* 1/*
2 * loop member variable declarations 2 * loop member variable declarations
3 * 3 *
4 * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010,2011,2012 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 *
71#if EV_USE_EVENTFD || EV_GENWRAP 71#if EV_USE_EVENTFD || EV_GENWRAP
72VARx(int, evfd) 72VARx(int, evfd)
73#endif 73#endif
74VAR (evpipe, int evpipe [2]) 74VAR (evpipe, int evpipe [2])
75VARx(ev_io, pipe_w) 75VARx(ev_io, pipe_w)
76VARx(EV_ATOMIC_T, pipe_write_wanted)
77VARx(EV_ATOMIC_T, pipe_write_skipped)
76 78
77#if !defined(_WIN32) || EV_GENWRAP 79#if !defined(_WIN32) || EV_GENWRAP
78VARx(pid_t, curpid) 80VARx(pid_t, curpid)
79#endif 81#endif
80 82
106VARx(int, epoll_epermcnt) 108VARx(int, epoll_epermcnt)
107VARx(int, epoll_epermmax) 109VARx(int, epoll_epermmax)
108#endif 110#endif
109 111
110#if EV_USE_KQUEUE || EV_GENWRAP 112#if EV_USE_KQUEUE || EV_GENWRAP
113VARx(pid_t, kqueue_fd_pid)
111VARx(struct kevent *, kqueue_changes) 114VARx(struct kevent *, kqueue_changes)
112VARx(int, kqueue_changemax) 115VARx(int, kqueue_changemax)
113VARx(int, kqueue_changecnt) 116VARx(int, kqueue_changecnt)
114VARx(struct kevent *, kqueue_events) 117VARx(struct kevent *, kqueue_events)
115VARx(int, kqueue_eventmax) 118VARx(int, kqueue_eventmax)
178VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ 181VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */
179VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) 182VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
180#endif 183#endif
181 184
182VARx(EV_ATOMIC_T, sig_pending) 185VARx(EV_ATOMIC_T, sig_pending)
183VARx(int, nosigmask)
184#if EV_USE_SIGNALFD || EV_GENWRAP 186#if EV_USE_SIGNALFD || EV_GENWRAP
185VARx(int, sigfd) 187VARx(int, sigfd)
186VARx(ev_io, sigfd_w) 188VARx(ev_io, sigfd_w)
187VARx(sigset_t, sigfd_set) 189VARx(sigset_t, sigfd_set)
188#endif 190#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines