summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/LinuxThread.h
blob: 4a196f0d7a7c1604bb40732a8cfa71be53099ffc (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
//===-- 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_
OpenPOWER on IntegriCloud