Files
clang-p2996/lldb/source/Plugins/Process/Linux/LinuxThread.h
Ed Maste 7fd845cc9d Threaded inferior support for FreeBSD
Modelled in part on GDBRemoteCommunicationClient.

Review: http://llvm-reviews.chandlerc.com/D2267
llvm-svn: 196787
2013-12-09 15:51:17 +00:00

47 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 "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 overrides
virtual bool
LinuxThread::Resume();
virtual void
RefreshStateAfterStop();
protected:
virtual void
TraceNotify(const ProcessMessage &message);
};
#endif // #ifndef liblldb_LinuxThread_H_