Книга: Real-Time Concepts for Embedded Systems

6.3.4 Getting Semaphore Information

6.3.4 Getting Semaphore Information

At some point in the application design, developers need to obtain semaphore information to perform monitoring or debugging. In these cases, use the operations shown in Table 6.4.

Table 6.4: Semaphore information operations.

Operation Description
Show info Show general information about semaphore
Show blocked tasks Get a list of IDs of tasks that are blocked on a semaphore

These operations are relatively straightforward but should be used judiciously, as the semaphore information might be dynamic at the time it is requested.

Оглавление книги


Генерация: 0.075. Запросов К БД/Cache: 0 / 0
поделиться
Вверх Вниз