Parcourir la source

LibPthread: Implement pthread_mutex_destroy()

Andreas Kling il y a 5 ans
Parent
commit
d08061103d
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      Libraries/LibPthread/pthread.cpp

+ 5 - 0
Libraries/LibPthread/pthread.cpp

@@ -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);