mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
57eb41ce83
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. |
||
---|---|---|
.. | ||
FreeRTOSConfig.h |