May I know is there any different between this two group FreeRTOS API?
Hi all, may I know is there any different between this two group FreeRTOS API function:
xSemaphoreTake()
xSemaphoreGive()
xSemaphoreTakeRecursive()
xSemaphoreGiveRecursive()
Solution:Jump to solution
the former are for passing around semaphore and can be used in ISRs and the latter are for recursive semaphores/mutexes ... allowing the same task to take the same mutex multiple times can't be used from an ISR
1 Reply
Solution
the former are for passing around semaphore and can be used in ISRs and the latter are for recursive semaphores/mutexes ... allowing the same task to take the same mutex multiple times can't be used from an ISR