mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
LibPthread: Add pthread_equal()
This commit is contained in:
parent
bee1145bdf
commit
f2a6ee76c0
Notes:
sideshowbarker
2024-07-18 23:53:33 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f2a6ee76c0b
2 changed files with 7 additions and 0 deletions
|
@ -666,4 +666,9 @@ int pthread_setcanceltype([[maybe_unused]] int type, [[maybe_unused]] int* oldty
|
|||
TODO();
|
||||
}
|
||||
|
||||
int pthread_equal(pthread_t t1, pthread_t t2)
|
||||
{
|
||||
return t1 == t2;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
|
|
@ -125,4 +125,6 @@ int pthread_mutexattr_destroy(pthread_mutexattr_t*);
|
|||
int pthread_setname_np(pthread_t, const char*);
|
||||
int pthread_getname_np(pthread_t, char*, size_t);
|
||||
|
||||
int pthread_equal(pthread_t t1, pthread_t t2);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Reference in a new issue