Michael Sartain | 9f822cd | 2013-07-31 23:27:46 +0000 | [diff] [blame] | 1 | //===-- LinuxThread.h -------------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef liblldb_LinuxThread_H_ |
| 11 | #define liblldb_LinuxThread_H_ |
| 12 | |
| 13 | // Other libraries and framework includes |
Todd Fiala | cacde7d | 2014-09-27 16:54:22 +0000 | [diff] [blame^] | 14 | #include "Plugins/Process/POSIX/POSIXThread.h" |
Michael Sartain | 9f822cd | 2013-07-31 23:27:46 +0000 | [diff] [blame] | 15 | |
| 16 | //------------------------------------------------------------------------------ |
| 17 | // @class LinuxThread |
| 18 | // @brief Abstraction of a Linux thread. |
| 19 | class LinuxThread |
| 20 | : public POSIXThread |
| 21 | { |
| 22 | public: |
| 23 | |
| 24 | //------------------------------------------------------------------ |
| 25 | // Constructors and destructors |
| 26 | //------------------------------------------------------------------ |
| 27 | LinuxThread(lldb_private::Process &process, lldb::tid_t tid); |
| 28 | |
| 29 | virtual ~LinuxThread(); |
| 30 | |
| 31 | //-------------------------------------------------------------------------- |
| 32 | // LinuxThread internal API. |
| 33 | |
Ed Maste | 30df85e | 2013-12-11 20:43:27 +0000 | [diff] [blame] | 34 | // POSIXThread override |
Michael Sartain | 9f822cd | 2013-07-31 23:27:46 +0000 | [diff] [blame] | 35 | virtual void |
| 36 | RefreshStateAfterStop(); |
Michael Sartain | 9f822cd | 2013-07-31 23:27:46 +0000 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | #endif // #ifndef liblldb_LinuxThread_H_ |