Adic Server Manuel d'utilisateur Page 186

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 185
5-14 DAS ACI 3.0 Asynchronous Support Layer
601626-B
Figure 5-11 Example if the aci_async_create Function
aci_async_find()
The aci_async_find function looks for the appropriate
aci_async_entry in shared memory array. If an entry has the
same value in the pid field as pid parameter it is returned. See
Figure 5-12 aci_async_find Function Call
See Table 5-8 for a description of the parameter for the
aci_async_find function.
Table 5-8 Parameter for the aci_async_find Function
Parameter Description
pid identifies the request entry in the shared memory array
. . .
/*
* sadmin sample application, dasadmin.c file
* creating a table in shared memory - 50 entries
*/
if( ( async_entry = aci_async_create( 50L ) ) == 0 )
{
aci_perror( "create async failed" );
return 1;
}
. . .
#include "aci_async.h"
aci_async_entry* aci_async_find(pid_t pid);
Vue de la page 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 217 218

Commentaires sur ces manuels

Pas de commentaire