Merge branch 'bugfix/pthread_cond_wait_timeout' into 'master'

pthread: Fix pthread_cond_timedwait returning early from timeout

Closes IDFGH-5119 and IDF-1055

See merge request espressif/esp-idf!13658
This commit is contained in:
Angus Gratton
2021-06-23 09:26:54 +00:00
5 changed files with 84 additions and 15 deletions
+2
View File
@@ -94,6 +94,8 @@ Condition Variables
Static initializer constant ``PTHREAD_COND_INITIALIZER`` is supported.
* The resolution of ``pthread_cond_timedwait()`` timeouts is the RTOS tick period (see :ref:`CONFIG_FREERTOS_HZ`). Timeouts may be delayed up to one tick period after the requested timeout.
.. note:: These functions can be called from tasks created using either pthread or FreeRTOS APIs
Thread-Specific Data