LibC: Implement `thread_equal`

This commit is contained in:
Bananymous 2025-04-20 03:13:35 +03:00
parent db9db2cc40
commit 265b4c2b22
1 changed files with 5 additions and 0 deletions

View File

@ -290,6 +290,11 @@ void pthread_exit(void* value_ptr)
ASSERT_NOT_REACHED();
}
int pthread_equal(pthread_t t1, pthread_t t2)
{
return t1 == t2;
}
int pthread_join(pthread_t thread, void** value_ptr)
{
return syscall(SYS_PTHREAD_JOIN, thread, value_ptr);