December 2020
Intermediate to advanced
382 pages
7h 23m
English
Semaphores are a very simple method of intertask synchronization supported by Nucleus SE. They provide a low-cost means of controlling the use of resources between tasks. In this chapter, the operation of semaphores is outlined, with details of all the relevant application program interfaces. The implementation of semaphores in Nucleus SE is also detailed.
RTOS; Nucleus; semaphores
Semaphores were introduced in Chapter 3, RTOS Services and Facilities. Their primary use is the control of access to resources.
In Nucleus SE, semaphores are configured at build time. There may be a maximum of 16 semaphores configured for an application. If no semaphores are configured, no data structures or service call code ...
Read now
Unlock full access