Sun Oct 16 2011 08:43:14

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_recior
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 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
struct io_rec* ior

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().

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().


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