feat(pthread): added pthread_condattr* stubs to avoid linker errors

Closes https://github.com/espressif/esp-idf/issues/12171
This commit is contained in:
Jakob Hasse
2023-09-21 17:45:55 +08:00
parent 8545f8595f
commit a937efef1a
2 changed files with 34 additions and 7 deletions

View File

@@ -8,12 +8,6 @@
const static char *TAG = "esp32_asio_pthread";
int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id)
{
ESP_LOGW(TAG, "%s: not yet supported!", __func__);
return 0;
}
int pthread_setcancelstate(int state, int *oldstate)
{
return 0;