aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/linux/HostThreadLinux.h
blob: ddfa8633ffed16cda437e0e58c536e9038f3f659 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===-- HostThreadLinux.h ---------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef lldb_Host_linux_HostThreadLinux_h_
#define lldb_Host_linux_HostThreadLinux_h_

#include "lldb/Host/posix/HostThreadPosix.h"

#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"

namespace lldb_private {

class HostThreadLinux : public HostThreadPosix {
public:
  HostThreadLinux();
  HostThreadLinux(lldb::thread_t thread);

  static void SetName(lldb::thread_t thread, llvm::StringRef name);
  static void GetName(lldb::thread_t thread, llvm::SmallVectorImpl<char> &name);
};
}

#endif