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:
parent
51a2d3c1fa
commit
bee1145bdf
2 changed files with 16 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue