summaryrefslogtreecommitdiff
path: root/libc/src/threads/linux/cnd_signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/threads/linux/cnd_signal.cpp')
-rw-r--r--libc/src/threads/linux/cnd_signal.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/src/threads/linux/cnd_signal.cpp b/libc/src/threads/linux/cnd_signal.cpp
new file mode 100644
index 000000000000..8ef16a355e7b
--- /dev/null
+++ b/libc/src/threads/linux/cnd_signal.cpp
@@ -0,0 +1,16 @@
+//===-- Linux implementation of the cnd_signal 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_signal.h"
+#include "src/__support/common.h"
+
+namespace __llvm_libc {
+
+LLVM_LIBC_FUNCTION(int, cnd_signal, (cnd_t * cond)) { return thrd_success; }
+
+} // namespace __llvm_libc