mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 04:23:19 +08:00
score: Add self-contained mutex implementation
This mutex implementation uses a thread priority queue with a simple priority inheritance mechanism (similar to the object based mutexes). The storage space must be supplied by the user (16 bytes on 32-bit targets).
This commit is contained in:
@@ -134,6 +134,7 @@ static const rtems_assoc_t rtems_monitor_state_assoc[] = {
|
||||
{ "Wseg", STATES_WAITING_FOR_SEGMENT, 0 },
|
||||
{ "Wsem", STATES_WAITING_FOR_SEMAPHORE, 0 },
|
||||
{ "Wsig", STATES_WAITING_FOR_SIGNAL, 0 },
|
||||
{ "Wslmtx", STATES_WAITING_FOR_SYS_LOCK_MUTEX, 0 },
|
||||
{ "Wsysev", STATES_WAITING_FOR_SYSTEM_EVENT, 0 },
|
||||
{ "Wterm", STATES_WAITING_FOR_TERMINATION, 0 },
|
||||
{ "Wtime", STATES_WAITING_FOR_TIME, 0 },
|
||||
|
||||
Reference in New Issue
Block a user