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 |
103 | VARx(struct epoll_event *, epoll_events) |
103 | VARx(struct epoll_event *, epoll_events) |
104 | VARx(int, epoll_eventmax) |
104 | VARx(int, epoll_eventmax) |
|
|
105 | VARx(int *, epoll_eperms) |
|
|
106 | VARx(int, epoll_epermcnt) |
|
|
107 | VARx(int, epoll_epermmax) |
105 | #endif |
108 | #endif |
106 | |
109 | |
107 | #if EV_USE_KQUEUE || EV_GENWRAP |
110 | #if EV_USE_KQUEUE || EV_GENWRAP |
108 | VARx(struct kevent *, kqueue_changes) |
111 | VARx(struct kevent *, kqueue_changes) |
109 | VARx(int, kqueue_changemax) |
112 | VARx(int, kqueue_changemax) |
… | |
… | |
154 | VARx(struct ev_fork **, forks) |
157 | VARx(struct ev_fork **, forks) |
155 | VARx(int, forkmax) |
158 | VARx(int, forkmax) |
156 | VARx(int, forkcnt) |
159 | VARx(int, forkcnt) |
157 | #endif |
160 | #endif |
158 | |
161 | |
|
|
162 | #if EV_CLEANUP_ENABLE || EV_GENWRAP |
|
|
163 | VARx(struct ev_cleanup **, cleanups) |
|
|
164 | VARx(int, cleanupmax) |
|
|
165 | VARx(int, cleanupcnt) |
|
|
166 | #endif |
|
|
167 | |
159 | #if EV_ASYNC_ENABLE || EV_GENWRAP |
168 | #if EV_ASYNC_ENABLE || EV_GENWRAP |
160 | VARx(EV_ATOMIC_T, async_pending) |
169 | VARx(EV_ATOMIC_T, async_pending) |
161 | VARx(struct ev_async **, asyncs) |
170 | VARx(struct ev_async **, asyncs) |
162 | VARx(int, asyncmax) |
171 | VARx(int, asyncmax) |
163 | VARx(int, asynccnt) |
172 | VARx(int, asynccnt) |