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: https://github.com/SerenityOS/serenity/commit/d08061103dd
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;
|
||||
}
|
||||
|
||||
int pthread_mutex_destroy(pthread_mutex_t*)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pthread_mutex_lock(pthread_mutex_t* mutex)
|
||||
{
|
||||
auto* atomic = reinterpret_cast<Atomic<u32>*>(mutex);
|
||||
|
|
Loading…
Add table
Reference in a new issue