1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibPthread: Stub pthread_setcancelstate() and pthread_setcanceltype()

This commit is contained in:
Andreas Kling 2021-01-12 13:40:48 +01:00
parent 51a2d3c1fa
commit bee1145bdf
2 changed files with 16 additions and 1 deletions

View file

@ -656,4 +656,14 @@ int pthread_getname_np(pthread_t thread, char* buffer, size_t buffer_size)
__RETURN_PTHREAD_ERROR(rc);
}
int pthread_setcancelstate([[maybe_unused]] int state, [[maybe_unused]] int* oldstate)
{
TODO();
}
int pthread_setcanceltype([[maybe_unused]] int type, [[maybe_unused]] int* oldtype)
{
TODO();
}
} // extern "C"