Echelon LonTal Stack Manuel d'utilisateur Page 202

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 247
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 201
190 Appendix D: LonTalk API
The following sections provide an overview of the functions that the OSAL
provides.
Managing Critical Sections
To manage critical sections, the OSAL provides the functions listed in the
following table:
Function Description
OsalCreateCriticalSection()
Creates a critical section.
OsalDeleteCriticalSection() Deletes a critical section.
OsalEnterCriticalSection() Enters a critical section.
OsalLeaveCriticalSection() Leaves a critical section.
Managing Binary Semaphores
To manage binary semaphores, the OSAL provides the functions listed in the
following table:
Function Description
OsalCreateBinarySemaphore() Creates a binary semaphore.
OsalDeleteBinarySemaphore() Deletes a binary semaphore.
OsalReleaseBinarySemaphore()
Releases a binary semaphore.
OsalWaitForBinarySemaphore()
Waits for binary semaphore.
Managing Operating System Events
To manage operating system events, the OSAL provides the functions listed in
the following table:
Function Description
OsalCreateEvent() Creates an event.
OsalDeleteEvent() Deletes an event.
OsalSetEvent() Sets an event.
OsalWaitForEvent()
Waits for an event.
Vue de la page 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 246 247

Commentaires sur ces manuels

Pas de commentaire