forked from OSchip/llvm-project
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
//===-- LinuxThread.h -------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef liblldb_LinuxThread_H_
|
|
#define liblldb_LinuxThread_H_
|
|
|
|
// Other libraries and framework includes
|
|
#include "Plugins/Process/POSIX/POSIXThread.h"
|
|
|
|
namespace lldb_private {
|
|
namespace process_linux {
|
|
|
|
//------------------------------------------------------------------------------
|
|
// @class LinuxThread
|
|
// @brief Abstraction of a Linux thread.
|
|
class LinuxThread : public POSIXThread
|
|
{
|
|
public:
|
|
|
|
//------------------------------------------------------------------
|
|
// Constructors and destructors
|
|
//------------------------------------------------------------------
|
|
LinuxThread(Process &process, lldb::tid_t tid);
|
|
|
|
virtual ~LinuxThread();
|
|
|
|
//--------------------------------------------------------------------------
|
|
// LinuxThread internal API.
|
|
|
|
// POSIXThread override
|
|
void
|
|
RefreshStateAfterStop() override;
|
|
};
|
|
|
|
} // namespace process_linux
|
|
} // namespace lldb_private
|
|
|
|
#endif // #ifndef liblldb_LinuxThread_H_
|