Global IO variables are now in a struct in order to be made threadsafe. More...

Data Fields | |
| int | current_ioc |
| unsigned int | fdcnt |
| struct pollfd * | fds |
| struct io_rec * | ior |
| unsigned int | maxfdcnt |
| int | needshrink |
Global IO variables are now in a struct in order to be made threadsafe.
| int current_ioc |
Currently used io callback
Definition at line 67 of file io.c.
Referenced by io_context_create(), ast_io_remove(), and ast_io_wait().
| unsigned int fdcnt |
First available fd
Definition at line 65 of file io.c.
Referenced by io_context_create(), ast_io_add(), ast_io_change(), io_shrink(), ast_io_remove(), ast_io_wait(), and ast_io_dump().
| struct pollfd* fds |
Poll structure
Definition at line 63 of file io.c.
Referenced by io_context_create(), io_context_destroy(), io_grow(), ast_io_add(), ast_io_change(), io_shrink(), ast_io_remove(), ast_io_wait(), and ast_io_dump().
Associated I/O records
Definition at line 64 of file io.c.
Referenced by io_context_create(), io_context_destroy(), io_grow(), ast_io_add(), ast_io_change(), io_shrink(), ast_io_remove(), ast_io_wait(), and ast_io_dump().
| unsigned int maxfdcnt |
Maximum available fd
Definition at line 66 of file io.c.
Referenced by io_context_create(), io_grow(), ast_io_add(), and ast_io_dump().
| int needshrink |
Whether something has been deleted
Definition at line 68 of file io.c.
Referenced by io_context_create(), io_shrink(), ast_io_remove(), and ast_io_wait().