mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-25 04:25:13 +08:00
Add vTaskEnterCritical() and vTaskExitCritical() functions.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user