mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
pthread: add dummy implementation of pthread_setcancelstate
Used by new versions of newlib in stdio functions.
This commit is contained in:
@ -8,3 +8,8 @@ int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id)
|
||||
ESP_LOGW(TAG, "%s: not yet supported!", __FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pthread_setcancelstate(int state, int *oldstate)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user