esp-idf/components/pthread
Marius Vikhammer 385439213a change(pthread): changed pthread to not pull in init functions if not used
The pthread_init function would always get included in the binary,
even when no pthread functions were used.

This happens due to us using -u linker flags to force the linker to
consider the pthread library, to ensure the weak pthread functions in
the toolchain are overridden.

By restructing the code to rely on lazy inits instead we can avoid using
a init function, and therefor save some space.

Closes https://github.com/espressif/esp-idf/issues/14213
2024-08-27 10:00:04 +08:00
..
include feat(pthread): Pthread can now use PSRAM as stack 2024-01-22 15:33:05 +08:00
port/linux fix(pthread): Fix cxx pthread example build for linux platform 2024-08-13 10:48:17 +02:00
test_apps change(pthread): changed pthread to not pull in init functions if not used 2024-08-27 10:00:04 +08:00
CMakeLists.txt fix(pthread): Fix cxx pthread example build for linux platform 2024-08-13 10:48:17 +02:00
Kconfig pthread: remove ESP32_ prefix from Kconfig options 2019-07-29 04:43:49 +02:00
pthread_cond_var.c refactor(core): reformat newlib and pthread with astyle 2024-02-27 10:00:06 +08:00
pthread_internal.h pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook 2022-11-02 09:52:28 +01:00
pthread_local_storage.c fix(pthread): Remove TLS pointer/deletion callback from correct thread 2024-06-26 16:31:48 -07:00
pthread_rwlock.c refactor(core): reformat newlib and pthread with astyle 2024-02-27 10:00:06 +08:00
pthread_semaphore.c refactor(core): reformat newlib and pthread with astyle 2024-02-27 10:00:06 +08:00
pthread.c change(pthread): changed pthread to not pull in init functions if not used 2024-08-27 10:00:04 +08:00
sdkconfig.rename pthread: remove ESP32_ prefix from Kconfig options 2019-07-29 04:43:49 +02:00