1 //===-- HostThreadPosix.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef lldb_Host_posix_HostThreadPosix_h_
11 #define lldb_Host_posix_HostThreadPosix_h_
13 #include "lldb/Host/HostNativeThreadBase.h"
15 namespace lldb_private
18 class HostThreadPosix : public HostNativeThreadBase
20 DISALLOW_COPY_AND_ASSIGN(HostThreadPosix);
24 HostThreadPosix(lldb::thread_t thread);
25 virtual ~HostThreadPosix();
27 Error Join(lldb::thread_result_t *result) override;
28 Error Cancel() override;