esp-idf/components/pthread/test
Angus Gratton 6713291dad pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html

Specifically:

- Before a destructor is called then the value for the corresponding key is
  already set to NULL.

- If a destructor calls pthread_setspecific() to assign a non-NULL value then
  this destructor is called again, after all existing non-NULL values have been
  called.

Adds a test for this relatively complex behaviour.

Closes https://github.com/espressif/esp-idf/issues/6643
2021-05-18 10:21:34 +10:00
..
CMakeLists.txt cmock: added cmock as component 2020-09-02 16:38:37 +08:00
component.mk 1) Mux API was added 2017-09-06 10:30:23 +08:00
test_cxx_cond_var.cpp pthread: Added support for pthread condition variables 2017-11-23 11:26:51 +08:00
test_cxx_std_future.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_pthread.c pthread tests : test case added for detach functionality 2018-12-28 14:41:24 +05:30
test_pthread_cond_var.c pthread: Add support for PTHREAD_COND_INITIALIZER 2021-05-14 10:03:11 +10:00
test_pthread_cxx.cpp log: Remove redundant definition of LOG_LOCAL_LEVEL 2021-04-23 18:13:04 +10:00
test_pthread_local_storage.c pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific 2021-05-18 10:21:34 +10:00