class Poller

pollfd assistance class for port classes. More...

Definition#include <thread.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

The poller class is used to help manage pollfd structs for use in the updated serial and socket "port" code.

pollfd * getList (int cnt)

reserve a specified number of poll descriptors. If additional descriptors are needed, they are allocated.

Parameters:
numberof desctiptors to reserve

Returns: new array of descriptors.

inline pollfd * getList (void)

Retreive the current array of poll descriptors.

Returns: array of descriptors.