mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add vTaskEnterCritical() and vTaskExitCritical() functions.
This commit is contained in:
parent
ebf69dab5d
commit
2b174e556c
2 changed files with 54 additions and 2 deletions
|
@ -134,6 +134,10 @@
|
|||
#define configUSE_ALTERNATIVE_API 0
|
||||
#endif
|
||||
|
||||
#ifndef portCRITICAL_NESTING_IN_TCB
|
||||
#define portCRITICAL_NESTING_IN_TCB 0
|
||||
#endif
|
||||
|
||||
#if ( configUSE_MUTEXES == 1 )
|
||||
/* xTaskGetCurrentTaskHandle is used by the priority inheritance mechanism
|
||||
within the mutex implementation so must be available if mutexes are used. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue