]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Host/posix/HostThreadPosix.h
Update LLDB snapshot to upstream r241361
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Host / posix / HostThreadPosix.h
1 //===-- HostThreadPosix.h -------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef lldb_Host_posix_HostThreadPosix_h_
11 #define lldb_Host_posix_HostThreadPosix_h_
12
13 #include "lldb/Host/HostNativeThreadBase.h"
14
15 namespace lldb_private
16 {
17
18 class HostThreadPosix : public HostNativeThreadBase
19 {
20     DISALLOW_COPY_AND_ASSIGN(HostThreadPosix);
21
22   public:
23     HostThreadPosix();
24     HostThreadPosix(lldb::thread_t thread);
25     virtual ~HostThreadPosix();
26
27     Error Join(lldb::thread_result_t *result) override;
28     Error Cancel() override;
29
30     Error Detach();
31 };
32 }
33
34 #endif