4.4.1. Semaphores#
In computer science, a semaphore is a useful tool that can be used to control access to a common resource by multiple tasks, or signal the occurance of an event.
A semaphore can be used to avoid the critical section problem which is introduced in the following video.
The following video gives an introduction to semaphores.
The following video show an example of how semaphores can be used \(\mu\)C/OS-II.