Asterisk - The Open Source Telephony Project  GIT-master-a1fa8df
Data Fields
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 71 of file io.c.

Field Documentation

◆ current_ioc

int current_ioc

Currently used io callback

Definition at line 76 of file io.c.

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

◆ fdcnt

unsigned int fdcnt

First available fd

Definition at line 74 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().

◆ fds

struct pollfd* fds

◆ ior

struct io_rec* ior

Associated I/O records

Definition at line 73 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().

◆ maxfdcnt

unsigned int maxfdcnt

Maximum available fd

Definition at line 75 of file io.c.

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

◆ needshrink

int needshrink

Whether something has been deleted

Definition at line 77 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: