59 pthread_t caller_thread;
69 pthread_mutex_t
mutex;
76 pthread_mutex_t
mutex;
77 pthread_cond_t new_req;
82 unsigned int initialized;
90#define AIO_QUEUE_INITIALIZED 0xB00B
92#ifndef AIO_MAX_THREADS
93#define AIO_MAX_THREADS 5
96#ifndef AIO_MAX_QUEUE_SIZE
97#define AIO_MAX_QUEUE_SIZE 30
100int rtems_aio_init (
void);
110 struct aiocb *aiocbp);
115#define AIO_assert(_x) assert(_x)
116#define AIO_printf(_x) printf(_x)
118#define AIO_assert(_x)
119#define AIO_printf(_x)
122#define rtems_aio_set_errno_return_minus_one( _error, _aiocbp ) \
123 do { (_aiocbp)->error_code = (_error); \
124 (_aiocbp)->return_value = -1; \
125 rtems_set_errno_and_return_minus_one (_error);} while(0)
POSIX Asynchronous Input and Output.
This header file provides the interfaces of the Assert Handler.
This header file provides the Chains API.
POSIX Threads Private Support.
This header file defines the RTEMS Classic API.
This header file defines macros to set errno and return minus one.
This structure represents a chain node.
Definition: chain.h:78
Definition: aio_misc.h:75
Definition: aio_misc.h:64
Definition: aio_misc.h:54
This union represents a chain control block.
Definition: chain.h:96