mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-13 14:48:33 -04:00
Documentation updates.
This commit is contained in:
parent
c4edb21f63
commit
79b506472d
2 changed files with 272 additions and 24 deletions
|
@ -37,11 +37,10 @@
|
|||
/*
|
||||
The tasks defined on this page demonstrate the use of recursive mutexes.
|
||||
|
||||
All mutexes are created using a call to xSemaphoreCreateMutex(). For
|
||||
recursive mutex functionality the created mutex should then be manipulated
|
||||
For recursive mutex functionality the created mutex should be created using
|
||||
xSemaphoreCreateRecursiveMutex(), then be manipulated
|
||||
using the xSemaphoreTakeRecursive() and xSemaphoreGiveRecursive() API
|
||||
functions. Recursive mutexes must NOT be passed as a parameter to the
|
||||
standard mutex API functions xSemaphoreTake() and xSemaphoreGive().
|
||||
functions.
|
||||
|
||||
This demo creates three tasks all of which access the same recursive mutex:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue