1 | /* |
1 | /* |
2 | * loop member variable declarations |
2 | * loop member variable declarations |
3 | * |
3 | * |
4 | * Copyright (c) 2007,2008,2009,2010,2011,2012,2013 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008,2009,2010,2011,2012,2013,2019 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 | * |
… | |
… | |
105 | VARx(int *, epoll_eperms) |
105 | VARx(int *, epoll_eperms) |
106 | VARx(int, epoll_epermcnt) |
106 | VARx(int, epoll_epermcnt) |
107 | VARx(int, epoll_epermmax) |
107 | VARx(int, epoll_epermmax) |
108 | #endif |
108 | #endif |
109 | |
109 | |
|
|
110 | #if EV_USE_LINUXAIO || EV_GENWRAP |
|
|
111 | VARx(aio_context_t, linuxaio_ctx) |
|
|
112 | VARx(struct aniocb **, linuxaio_iocbps) |
|
|
113 | VARx(int, linuxaio_iocbpmax) |
|
|
114 | VARx(struct iocb **, linuxaio_submits) |
|
|
115 | VARx(int, linuxaio_submitcnt) |
|
|
116 | VARx(int, linuxaio_submitmax) |
|
|
117 | #endif |
|
|
118 | |
110 | #if EV_USE_KQUEUE || EV_GENWRAP |
119 | #if EV_USE_KQUEUE || EV_GENWRAP |
111 | VARx(pid_t, kqueue_fd_pid) |
120 | VARx(pid_t, kqueue_fd_pid) |
112 | VARx(struct kevent *, kqueue_changes) |
121 | VARx(struct kevent *, kqueue_changes) |
113 | VARx(int, kqueue_changemax) |
122 | VARx(int, kqueue_changemax) |
114 | VARx(int, kqueue_changecnt) |
123 | VARx(int, kqueue_changecnt) |
… | |
… | |
192 | #if EV_FEATURE_API || EV_GENWRAP |
201 | #if EV_FEATURE_API || EV_GENWRAP |
193 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
202 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
194 | VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ |
203 | VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ |
195 | |
204 | |
196 | VARx(void *, userdata) |
205 | VARx(void *, userdata) |
197 | VAR (release_cb, ev_loop_callback EV_THROW release_cb) |
206 | /* C++ doesn't support the ev_loop_callback typedef here. stinks. */ |
198 | VAR (acquire_cb, ev_loop_callback EV_THROW acquire_cb) |
207 | VAR (release_cb, void (*release_cb)(EV_P) EV_NOEXCEPT) |
|
|
208 | VAR (acquire_cb, void (*acquire_cb)(EV_P) EV_NOEXCEPT) |
199 | VAR (invoke_cb , ev_loop_callback invoke_cb) |
209 | VAR (invoke_cb , ev_loop_callback invoke_cb) |
200 | #endif |
210 | #endif |
201 | |
211 | |
202 | #undef VARx |
212 | #undef VARx |
203 | |
213 | |