| 4911 | #if ( ( INCLUDE_xTaskGetCurrentTaskHandle == 1 ) || ( configUSE_MUTEXES == 1 ) ) |
| 4912 | |
| 4913 | TaskHandle_t xTaskGetCurrentTaskHandle( void ) |
| 4914 | { |
| 4915 | TaskHandle_t xReturn; |
| 4916 | uint32_t ulState; |
| 4917 | |
| 4918 | ulState = portDISABLE_INTERRUPTS(); |
| 4919 | xReturn = pxCurrentTCBs[ portGET_CORE_ID() ]; |
| 4920 | portRESTORE_INTERRUPTS( ulState ); |
| 4921 | |
| 4922 | return xReturn; |
| 4923 | } |
| 4924 | |
| 4925 | TaskHandle_t xTaskGetCurrentTaskHandleCPU( UBaseType_t xCoreID ) |
| 4926 | { |
no outgoing calls
no test coverage detected