1 | /* |
1 | /* |
2 | * loop member variable declarations |
2 | * loop member variable declarations |
3 | * |
3 | * |
4 | * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008 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 | * |
… | |
… | |
52 | |
52 | |
53 | VARx(int, backend_fd) |
53 | VARx(int, backend_fd) |
54 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
54 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
55 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
55 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
56 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
56 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
|
|
57 | |
|
|
58 | VAR (evpipe, int evpipe [2]) |
|
|
59 | VARx(ev_io, pipeev) |
57 | |
60 | |
58 | #if !defined(_WIN32) || EV_GENWRAP |
61 | #if !defined(_WIN32) || EV_GENWRAP |
59 | VARx(pid_t, curpid) |
62 | VARx(pid_t, curpid) |
60 | #endif |
63 | #endif |
61 | |
64 | |
… | |
… | |
135 | VARx(struct ev_fork **, forks) |
138 | VARx(struct ev_fork **, forks) |
136 | VARx(int, forkmax) |
139 | VARx(int, forkmax) |
137 | VARx(int, forkcnt) |
140 | VARx(int, forkcnt) |
138 | #endif |
141 | #endif |
139 | |
142 | |
|
|
143 | VARx(EV_ATOMIC_T, gotasync) |
|
|
144 | #if EV_ASYNC_ENABLE || EV_GENWRAP |
|
|
145 | VARx(struct ev_async **, asyncs) |
|
|
146 | VARx(int, asyncmax) |
|
|
147 | VARx(int, asynccnt) |
|
|
148 | #endif |
|
|
149 | |
140 | #if EV_USE_INOTIFY || EV_GENWRAP |
150 | #if EV_USE_INOTIFY || EV_GENWRAP |
141 | VARx(int, fs_fd) |
151 | VARx(int, fs_fd) |
142 | VARx(ev_io, fs_w) |
152 | VARx(ev_io, fs_w) |
143 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
153 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
144 | #endif |
154 | #endif |