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
committed by Anton Maklakov
parent 873aca4c0d
commit 843889fd03

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