diff options
| author | Siva Chandra Reddy <sivachandra@google.com> | 2021-08-27 18:49:40 +0000 |
|---|---|---|
| committer | Siva Chandra Reddy <sivachandra@google.com> | 2021-09-01 19:41:52 +0000 |
| commit | 2f4f452f166bbbf0d39193f0e68d680d235e64ba (patch) | |
| tree | a0ce2efa807e428cf4904b9997c0779368722f9b /libc/src/threads/linux/cnd_destroy.cpp | |
| parent | ccbb4c8b4ffd00588f0c21c7e5208bf210b26a53 (diff) | |
[libc] Add a skeleton for C standard condition variable functions.
This patch adds a skeleton as a preparatory step for the next patch which
adds the actual implementations of the condition variable functions.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D108947
Diffstat (limited to 'libc/src/threads/linux/cnd_destroy.cpp')
| -rw-r--r-- | libc/src/threads/linux/cnd_destroy.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/src/threads/linux/cnd_destroy.cpp b/libc/src/threads/linux/cnd_destroy.cpp new file mode 100644 index 000000000000..ac8a852a9739 --- /dev/null +++ b/libc/src/threads/linux/cnd_destroy.cpp @@ -0,0 +1,16 @@ +//===-- Linux implementation of the cnd_destroy 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_destroy.h" +#include "src/__support/common.h" + +namespace __llvm_libc { + +LLVM_LIBC_FUNCTION(void, cnd_destroy, (cnd_t * cond)) { } + +} // namespace __llvm_libc |
