mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibPthread: Implement pthread_mutex_destroy()
This commit is contained in:
parent
cc1ef6dadb
commit
d08061103d
Notes:
sideshowbarker
2024-07-19 10:56:41 +09:00
Author: https://github.com/awesomekling
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