summaryrefslogtreecommitdiff
path: root/libc/src/threads/linux/cnd_wait.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/threads/linux/cnd_wait.cpp')
-rw-r--r--libc/src/threads/linux/cnd_wait.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/src/threads/linux/cnd_wait.cpp b/libc/src/threads/linux/cnd_wait.cpp
new file mode 100644
index 000000000000..e2dda46d2dc9
--- /dev/null
+++ b/libc/src/threads/linux/cnd_wait.cpp
@@ -0,0 +1,18 @@
+//===-- Linux implementation of the cnd_wait function ---------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/threads/cnd_wait.h"
+#include "src/__support/common.h"
+
+namespace __llvm_libc {
+
+LLVM_LIBC_FUNCTION(int, cnd_wait, (cnd_t * cond, mtx_t *mutex)) {
+ return thrd_success;
+}
+
+} // namespace __llvm_libc