diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/LinuxThread.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/LinuxThread.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/LinuxThread.h b/lldb/source/Plugins/Process/Linux/LinuxThread.h new file mode 100644 index 00000000000..7d253aa98eb --- /dev/null +++ b/lldb/source/Plugins/Process/Linux/LinuxThread.h @@ -0,0 +1,43 @@ +//===-- 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 "POSIXThread.h" + +//------------------------------------------------------------------------------ +// @class LinuxThread +// @brief Abstraction of a Linux thread. +class LinuxThread + : public POSIXThread +{ +public: + + //------------------------------------------------------------------ + // Constructors and destructors + //------------------------------------------------------------------ + LinuxThread(lldb_private::Process &process, lldb::tid_t tid); + + virtual ~LinuxThread(); + + //-------------------------------------------------------------------------- + // LinuxThread internal API. + + // POSIXThread override + virtual void + RefreshStateAfterStop(); + +protected: + virtual void + TraceNotify(const ProcessMessage &message); +}; + +#endif // #ifndef liblldb_LinuxThread_H_ |