]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / tools / lldb / source / Plugins / Process / FreeBSD / FreeBSDThread.h
1 //===-- FreeBSDThread.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_FreeBSDThread_H_
11 #define liblldb_FreeBSDThread_H_
12
13 // Other libraries and framework includes
14 #include "POSIXThread.h"
15
16 //------------------------------------------------------------------------------
17 // @class FreeBSDThread
18 // @brief Abstraction of a FreeBSD thread.
19 class FreeBSDThread
20     : public POSIXThread
21 {
22 public:
23
24     //------------------------------------------------------------------
25     // Constructors and destructors
26     //------------------------------------------------------------------
27     FreeBSDThread(lldb_private::Process &process, lldb::tid_t tid);
28
29     virtual ~FreeBSDThread();
30
31     //--------------------------------------------------------------------------
32     // FreeBSDThread internal API.
33
34     // POSIXThread override
35     virtual void
36     WillResume(lldb::StateType resume_state);
37 };
38
39 #endif // #ifndef liblldb_FreeBSDThread_H_