llvm-project/libc/src/pthread/pthread_exit.h
Siva Chandra Reddy 0071a79532 [libc] Add implementation of pthread_exit and thrd_exit.
Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D131451
2022-08-10 06:28:47 +00:00

21 lines
617 B
C++

//===-- Implementation header for pthread_exit 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_THREADS_PTHREAD_EXIT_H
#define LLVM_LIBC_SRC_THREADS_PTHREAD_EXIT_H
#include <pthread.h>
namespace __llvm_libc {
void pthread_exit(void *retval);
} // namespace __llvm_libc
#endif // LLVM_LIBC_SRC_THREADS_PTHREAD_EXIT_H