mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
pthread: add dummy implementation of pthread_setcancelstate
Used by new versions of newlib in stdio functions.
This commit is contained in:
committed by
Anton Maklakov
parent
873aca4c0d
commit
843889fd03
@@ -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;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user