mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:37:34 +00:00
LibPthread: Implement pthread_mutex_destroy()
This commit is contained in:
parent
cc1ef6dadb
commit
d08061103d
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ int pthread_mutex_init(pthread_mutex_t* mutex, const pthread_mutexattr_t* attrib
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pthread_mutex_destroy(pthread_mutex_t*)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int pthread_mutex_lock(pthread_mutex_t* mutex)
|
int pthread_mutex_lock(pthread_mutex_t* mutex)
|
||||||
{
|
{
|
||||||
auto* atomic = reinterpret_cast<Atomic<u32>*>(mutex);
|
auto* atomic = reinterpret_cast<Atomic<u32>*>(mutex);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue