freebsd-dev/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
Ed Maste 04c171520d lldb: Threaded inferior support for FreeBSD
This is in the process of being submitted to the upstream LLDB
repository.  The thread list functionality is modelled in part on
GDBRemoteCommunicationClient.

LLDB bug pr16696 and code review D2267

Sponsored by:	DARPA, AFRL
2013-12-03 21:29:45 +00:00

40 lines
1.2 KiB
C++

//===-- FreeBSDThread.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_FreeBSDThread_H_
#define liblldb_FreeBSDThread_H_
// Other libraries and framework includes
#include "POSIXThread.h"
//------------------------------------------------------------------------------
// @class FreeBSDThread
// @brief Abstraction of a FreeBSD thread.
class FreeBSDThread
: public POSIXThread
{
public:
//------------------------------------------------------------------
// Constructors and destructors
//------------------------------------------------------------------
FreeBSDThread(lldb_private::Process &process, lldb::tid_t tid);
virtual ~FreeBSDThread();
//--------------------------------------------------------------------------
// FreeBSDThread internal API.
// POSIXThread override
virtual void
WillResume(lldb::StateType resume_state);
};
#endif // #ifndef liblldb_FreeBSDThread_H_