diff options
Diffstat (limited to 'include/lldb/Host/netbsd/HostThreadNetBSD.h')
-rw-r--r-- | include/lldb/Host/netbsd/HostThreadNetBSD.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/lldb/Host/netbsd/HostThreadNetBSD.h b/include/lldb/Host/netbsd/HostThreadNetBSD.h new file mode 100644 index 000000000000..2ce1e48fa045 --- /dev/null +++ b/include/lldb/Host/netbsd/HostThreadNetBSD.h @@ -0,0 +1,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 |