//===-- HostThreadPosix.cpp -----------------------------------------------===// // // 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 "lldb/Host/posix/HostThreadPosix.h" #include "lldb/Utility/Status.h" #include <cerrno> #include <pthread.h> usingnamespacelldb; usingnamespacelldb_private; HostThreadPosix::HostThreadPosix() = default; HostThreadPosix::HostThreadPosix(lldb::thread_t thread) : … { … } HostThreadPosix::~HostThreadPosix() = default; Status HostThreadPosix::Join(lldb::thread_result_t *result) { … } Status HostThreadPosix::Cancel() { … } Status HostThreadPosix::Detach() { … }