pthread: add dummy implementation of pthread_setcancelstate
Used by new versions of newlib in stdio functions.
This commit is contained in:
parent
d15e18aa5d
commit
31b4fc8eb8
1 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,8 @@ int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id)
|
||||||
ESP_LOGW(TAG, "%s: not yet supported!", __FUNCTION__);
|
ESP_LOGW(TAG, "%s: not yet supported!", __FUNCTION__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pthread_setcancelstate(int state, int *oldstate)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue