aci_async_create() 5-13
21 Dec 2001
aci_async_create()
The aci_async_create function creates a shared memory array
of the entry_num size, that will hold the requests sent. See
Figure 5-10
Figure 5-10 aci_async_create Function Call
See Table 5-7 for a description of the parameter for the
aci_async_create function.
Return Values
The call was successful if a pointer to the start of shared
memory array mapped into virtual address space of the
process.
The call failed zero is returned.
The entry_num value and pointer returned are stored
globally in the Asynchronous Layer Library for later use.
You must call this function only once. Repeated calls will
destroy global values and will not free previously allocated
shared memory arrays.
Refer to Figure 5-11 on page 5-14 for an example of the
aci_async_create function.
Table 5-7 Parameter for the aci_async_create Function
Parameter Description
entry_num entry_num - number of entries allocated to hold the
request information.
#include "aci_async.h"
aci_async_entry* aci_async_create(long entry_num);