Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:48

0001 //===-- HostThreadPosix.h -------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_HOST_POSIX_HOSTTHREADPOSIX_H
0010 #define LLDB_HOST_POSIX_HOSTTHREADPOSIX_H
0011 
0012 #include "lldb/Host/HostNativeThreadBase.h"
0013 
0014 namespace lldb_private {
0015 
0016 class HostThreadPosix : public HostNativeThreadBase {
0017   HostThreadPosix(const HostThreadPosix &) = delete;
0018   const HostThreadPosix &operator=(const HostThreadPosix &) = delete;
0019 
0020 public:
0021   HostThreadPosix();
0022   HostThreadPosix(lldb::thread_t thread);
0023   ~HostThreadPosix() override;
0024 
0025   Status Join(lldb::thread_result_t *result) override;
0026   Status Cancel() override;
0027 
0028   Status Detach();
0029 };
0030 
0031 } // namespace lldb_private
0032 
0033 #endif // LLDB_HOST_POSIX_HOSTTHREADPOSIX_H