mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
freertos-smp: refactor thread local storage pointers deletion callbacks
This commit updates how the TLS pointers deletion callbacks are called during task deletion in the FreeRTOS SMP kernel. The callbacks are now routed through the portCLEAN_UP_TCB() macro. This commit also adds a new kconfig option CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS to control the enablement of the TLSP deletion callbacks.
This commit is contained in:
@@ -1229,11 +1229,6 @@ typedef struct xSTATIC_TCB
|
||||
#endif
|
||||
#if ( configNUM_THREAD_LOCAL_STORAGE_POINTERS > 0 )
|
||||
void * pvDummy15[ configNUM_THREAD_LOCAL_STORAGE_POINTERS ];
|
||||
#ifdef ESP_PLATFORM
|
||||
#if ( configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS )
|
||||
void *pvDummaTLSDelCb[ configNUM_THREAD_LOCAL_STORAGE_POINTERS ];
|
||||
#endif
|
||||
#endif //ESP_PLATFORM
|
||||
#endif
|
||||
#if ( configGENERATE_RUN_TIME_STATS == 1 )
|
||||
uint32_t ulDummy16;
|
||||
|
Reference in New Issue
Block a user