Trần Khánh Ly
New member
What is semaphore in RTOS?
Answer
Common types are: Semaphore: a signal between tasks/interrupts that does not carry any additional data. The most common type of semaphore is a binary semaphore, that triggers activation of a task. The typical design pattern is that a task contains a main loop with an RTOS call to “take” the semaphore.
Photo in the article by “Flickr”
Answer
Common types are: Semaphore: a signal between tasks/interrupts that does not carry any additional data. The most common type of semaphore is a binary semaphore, that triggers activation of a task. The typical design pattern is that a task contains a main loop with an RTOS call to “take” the semaphore.
Photo in the article by “Flickr”
Code:
https://www.flickr.com/photos/searchengineland/3703722006