In previous tutorials, we have covered the basics of FreeRTOS with Arduino and the Queue kernel object in FreeRTOS Arduino. Now, in this third FreeRTOS tutorial, we will learn more about FreeRTOS and its advance APIs, which can make you understand the multi-tasking platform more deeply.
Semaphore and Mutex (Mutual Exclusion) are the kernel objects that are used for synchronization, resource management and protecting resources from corruption. In the first half of this tutorial, we will see the idea behind Semaphore, how and where to use it. In the second half, we will continue with Mutex. Read the complete tutorial