diff options
Diffstat (limited to 'libc/src/pthread/pthread_rwlock_wrlock.h')
| -rw-r--r-- | libc/src/pthread/pthread_rwlock_wrlock.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/src/pthread/pthread_rwlock_wrlock.h b/libc/src/pthread/pthread_rwlock_wrlock.h new file mode 100644 index 000000000000..ba77c1f1f09a --- /dev/null +++ b/libc/src/pthread/pthread_rwlock_wrlock.h @@ -0,0 +1,20 @@ +//===-- Implementation header for Rwlock's wrlock function -------*- C++-*-===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_RWLOCK_WRLOCK_H +#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_RWLOCK_WRLOCK_H + +#include <pthread.h> + +namespace LIBC_NAMESPACE { + +int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock); + +} // namespace LIBC_NAMESPACE + +#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_RWLOCK_WRLOCK_H |
