esp-idf/components/freertos/config
Darian Leung 57eb41ce83 refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB()
Previously, TLSP deletion callbacks were...

- Stored in a seprate TCB member "pvThreadLocalStoragePointersDelCallback"
- Called separately via multipole prvDeleteTLS() insertions in tasks.c

This commit refactors how TLSP deletion callbacks are stored and called:

- TLSP deletion callbacks are now stored in "pvThreadLocalStoragePointers"
directly. configNUM_THREAD_LOCAL_STORAGE_POINTERS is doubled in size so that
the deletion callbacks are stored in the latter half of the array

- The callbacks are now called via "portCLEAN_UP_TCB()". As such, the
prvDeleteTLS() additions are no longer needed and the function can be removed

- Removed some legacy TLSP tests using the old method of storing the callback
pointers.

This commit reduces the source code diff between IDF FreeRTOS and upstream
vanilla FreeRTOS, in preparation for v10.5.1 upgrade.
2023-08-24 19:32:06 +08:00
..
include/freertos refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB() 2023-08-24 19:32:06 +08:00
linux/include/freertos refactor(freertos): Refactor usage of portSTACK_TYPE to StackType_t 2023-07-31 16:59:41 +02:00
riscv/include/freertos freertos: Refactor component structure 2023-05-08 18:40:03 +08:00
xtensa/include/freertos freertos: Refactor component structure 2023-05-08 18:40:03 +08:00