Wed Nov 28 2012 04:19:35

Asterisk developer's documentation


io_context Struct Reference

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

Collaboration diagram for io_context:

Data Fields

int current_ioc
unsigned int fdcnt
struct pollfd * fds
struct io_rec * ior
unsigned int maxfdcnt
int needshrink

Detailed Description

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


Field Documentation

Currently used io callback

Definition at line 71 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 69 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
struct io_rec* ior

Associated I/O records

Definition at line 68 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 70 of file io.c.

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

Whether something has been deleted

Definition at line 72 of file io.c.

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


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