Don't have Telegram yet? Try it now!
https://www.embedded.com/using-rtos-semaphores-part-1-resource-semaphores/
Using RTOS semaphores - Part 1: Resource semaphores