#include <rtems/score/thread.h>#include <rtems/score/priority.h>#include <rtems/score/corespinlock.inl>

Go to the source code of this file.
Data Structures | |
| struct | CORE_spinlock_Attributes |
| struct | CORE_spinlock_Control |
Defines | |
| #define | CORE_SPINLOCK_STATUS_LAST CORE_SPINLOCK_NOT_LOCKED |
| #define | CORE_SPINLOCK_UNLOCKED 0 |
| #define | CORE_SPINLOCK_LOCKED 1 |
Enumerations | |
| enum | CORE_spinlock_Status { CORE_SPINLOCK_SUCCESSFUL, CORE_SPINLOCK_HOLDER_RELOCKING, CORE_SPINLOCK_NOT_HOLDER, CORE_SPINLOCK_TIMEOUT, CORE_SPINLOCK_IS_BUSY, CORE_SPINLOCK_UNAVAILABLE, CORE_SPINLOCK_NOT_LOCKED } |
Functions | |
| void | _CORE_spinlock_Initialize (CORE_spinlock_Control *the_spinlock, CORE_spinlock_Attributes *the_spinlock_attributes) |
| CORE_spinlock_Status | _CORE_spinlock_Wait (CORE_spinlock_Control *the_spinlock, boolean wait, Watchdog_Interval timeout) |
| CORE_spinlock_Status | _CORE_spinlock_Release (CORE_spinlock_Control *the_spinlock) |
1.5.6