aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/netbsd/HostThreadNetBSD.h
blob: 385f014899f7fce0414f52b85318980858c1d9fe (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
//===-- HostThreadNetBSD.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_netbsd_HostThreadNetBSD_h_
#define lldb_Host_netbsd_HostThreadNetBSD_h_

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

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

namespace lldb_private {

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

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

#endif