VxWorks Reference Manual : Libraries

aioSysDrv

NAME

aioSysDrv - AIO system driver

ROUTINES

aioSysInit( ) - initialize the AIO system driver

DESCRIPTION

This library is the AIO system driver. The system driver implements asynchronous I/O with system AIO tasks performing the AIO requests in a synchronous manner. It is installed as the default driver for AIO.

SEE ALSO

aioSysDrv, POSIX 1003.1b document


Libraries : Routines

aioSysInit( )

NAME

aioSysInit( ) - initialize the AIO system driver

SYNOPSIS

STATUS aioSysInit
    (
    int numTasks,     /* number of system tasks */
    int taskPrio,     /* AIO task priority */
    int taskStackSize /* AIO task stack size */
    )

DESCRIPTION

This routine initializes the AIO system driver. It should be called once after the AIO library has been initialized. It spawns numTasks system I/O tasks to be executed at taskPrio priority level, with a stack size of taskStackSize. It also starts the wait task and sets the system driver as the default driver for AIO. If numTasks, taskPrio, or taskStackSize is 0, a default value (AIO_IO_TASKS_DFLT, AIO_IO_PRIO_DFLT, or AIO_IO_STACK_DFLT, respectively) is used.

RETURNS

OK if successful, otherwise ERROR.

SEE ALSO

aioSysDrv