Echelon LonTal Stack Manual de usuario Pagina 202

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 247
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 246 247

Comentarios a estos manuales

Sin comentarios