ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_esp_hosted_sync_state_t Struct Reference

Module state of the mutex and semaphore half – entirely static. More...

Collaboration diagram for ra8_esp_hosted_sync_state_t:

Data Fields

TX_MUTEX mutexes [k_ra8_esp_hosted_max_mutexes]
 Mutex table.
bool mutex_used [k_ra8_esp_hosted_max_mutexes]
 Mutex occupancy.
TX_SEMAPHORE sems [k_ra8_esp_hosted_max_semaphores]
 Semaphore table.
bool sem_used [k_ra8_esp_hosted_max_semaphores]
 Semaphore occupancy.
bool ready
 Tables usable.

Detailed Description

Module state of the mutex and semaphore half – entirely static.

Two fixed tables and their occupancy flags. Nothing is allocated; the tables are reserved at link time and exhaustion is a failure, never a growth.

Invariant
ready is true exactly while the tables may be used.
A set occupancy flag always names a live ThreadX object.
Example:
TEST_ASSERT_NOT_NULL(funcs._h_create_mutex());
See also
priv_ra8_esp_hosted_rtos_sync_init
Since
0.1.0

Definition at line 90 of file ra8_esp_hosted_rtos_sync.c.

Field Documentation

◆ mutex_used

bool ra8_esp_hosted_sync_state_t::mutex_used[k_ra8_esp_hosted_max_mutexes]

Mutex occupancy.

Definition at line 92 of file ra8_esp_hosted_rtos_sync.c.

◆ mutexes

TX_MUTEX ra8_esp_hosted_sync_state_t::mutexes[k_ra8_esp_hosted_max_mutexes]

Mutex table.

Definition at line 91 of file ra8_esp_hosted_rtos_sync.c.

◆ ready

bool ra8_esp_hosted_sync_state_t::ready

Tables usable.

Definition at line 95 of file ra8_esp_hosted_rtos_sync.c.

◆ sem_used

bool ra8_esp_hosted_sync_state_t::sem_used[k_ra8_esp_hosted_max_semaphores]

Semaphore occupancy.

Definition at line 94 of file ra8_esp_hosted_rtos_sync.c.

◆ sems

TX_SEMAPHORE ra8_esp_hosted_sync_state_t::sems[k_ra8_esp_hosted_max_semaphores]

Semaphore table.

Definition at line 93 of file ra8_esp_hosted_rtos_sync.c.


The documentation for this struct was generated from the following file: