]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/linux/HostThreadLinux.h
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / include / lldb / Host / linux / HostThreadLinux.h
1 //===-- HostThreadLinux.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_linux_HostThreadLinux_h_
11 #define lldb_Host_linux_HostThreadLinux_h_
12
13 #include "lldb/Host/posix/HostThreadPosix.h"
14
15 #include "llvm/ADT/StringRef.h"
16 #include "llvm/ADT/SmallString.h"
17
18 namespace lldb_private
19 {
20
21 class HostThreadLinux : public HostThreadPosix
22 {
23   public:
24     HostThreadLinux();
25     HostThreadLinux(lldb::thread_t thread);
26
27     static void SetName(lldb::thread_t thread, llvm::StringRef name);
28     static void GetName(lldb::thread_t thread, llvm::SmallVectorImpl<char> &name);
29 };
30 }
31
32 #endif