pthread: add dummy implementation of pthread_setcancelstate

Used by new versions of newlib in stdio functions.
This commit is contained in:
Ivan Grokhotkov 2019-03-08 15:07:00 +08:00
parent d15e18aa5d
commit 31b4fc8eb8

View file

@ -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;
}