mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-04 02:50:58 +02:00
if COAP_CONSTRAINED_STACK is defined (is for esp-idf), the mutexes set up to protect the critical sections were not working as expected and were just dummy entries. Use the pthread_ version of the mutex instead by defining HAVE_PTHREAD_H and HAVE_PTHREAD_MUTEX_LOCK.