瀏覽代碼

LibPthread: Implement pthread_mutex_destroy()

Andreas Kling 5 年之前
父節點
當前提交
d08061103d
共有 1 個文件被更改,包括 5 次插入0 次删除
  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;
     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);