aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/netbsd/HostThreadNetBSD.h
blob: 2ce1e48fa0454ae3716229c85f3cbf972dec5e7f (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
31
32
//===-- 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/StringRef.h"
#include "llvm/ADT/SmallString.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