Wed Jan 8 2020 09:50:24

Asterisk developer's documentation


io_context Struct Reference

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_recior
 
unsigned int maxfdcnt
 
int needshrink
 

Detailed Description

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

Definition at line 66 of file io.c.

Field Documentation

int current_ioc

Currently used io callback

Definition at line 71 of file io.c.

Referenced by ast_io_remove(), ast_io_wait(), and io_context_create().

unsigned int fdcnt

First available fd

Definition at line 69 of file io.c.

Referenced by ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_remove(), ast_io_wait(), io_context_create(), and io_shrink().

struct pollfd* fds
struct io_rec* ior

Associated I/O records

Definition at line 68 of file io.c.

Referenced by ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_remove(), ast_io_wait(), io_context_create(), io_context_destroy(), io_grow(), and io_shrink().

unsigned int maxfdcnt

Maximum available fd

Definition at line 70 of file io.c.

Referenced by ast_io_add(), ast_io_dump(), io_context_create(), and io_grow().

int needshrink

Whether something has been deleted

Definition at line 72 of file io.c.

Referenced by ast_io_remove(), ast_io_wait(), io_context_create(), and io_shrink().


The documentation for this struct was generated from the following file: