Go to the documentation of this file.
9 #ifndef LLDB_TARGET_THREADLIST_H
10 #define LLDB_TARGET_THREADLIST_H
92 bool can_update =
true);
97 bool can_update =
true);
136 std::recursive_mutex &
GetMutex()
const override;
159 #endif // LLDB_TARGET_THREADLIST_H
ExpressionExecutionThreadPusher(ThreadList &thread_list, lldb::tid_t tid)
bool WillResume()
The thread list asks tells all the threads it is about to resume.
Vote ShouldReportRun(Event *event_ptr)
std::vector< lldb::tid_t > m_expression_tid_stack
void SetShouldReportStop(Vote vote)
uint32_t GetStopID() const
bool ShouldStop(Event *event_ptr)
uint32_t m_stop_id
The process stop ID that this thread list is valid for.
lldb::ThreadSP GetBackingThread(const lldb::ThreadSP &real_thread)
Vote ShouldReportStop(Event *event_ptr)
void RefreshStateAfterStop()
void NotifySelectedThreadChanged(lldb::tid_t tid)
bool SetSelectedThreadByID(lldb::tid_t tid, bool notify=false)
lldb::ThreadSP FindThreadByID(lldb::tid_t tid, bool can_update=true)
ThreadList * m_thread_list
std::recursive_mutex & GetMutex() const override
~ExpressionExecutionThreadPusher()
lldb::ThreadSP GetThreadAtIndex(uint32_t idx, bool can_update=true)
lldb::ThreadSP FindThreadByProtocolID(lldb::tid_t tid, bool can_update=true)
lldb::ThreadSP RemoveThreadByID(lldb::tid_t tid, bool can_update=true)
bool SetSelectedThreadByIndexID(uint32_t index_id, bool notify=false)
lldb::tid_t m_selected_tid
For targets that need the notion of a current thread.
lldb::ThreadSP GetThreadSPForThreadPtr(Thread *thread_ptr)
void Update(ThreadList &rhs)
void SetStopID(uint32_t stop_id)
Process * m_process
The process that manages this thread list.
void DiscardThreadPlans()
A class that represents a running process on the host machine.
lldb::ThreadSP FindThreadByIndexID(uint32_t index_id, bool can_update=true)
lldb::ThreadSP RemoveThreadByProtocolID(lldb::tid_t tid, bool can_update=true)
const ThreadList & operator=(const ThreadList &rhs)
#define LLDB_INVALID_THREAD_ID
void PopExpressionExecutionThread(lldb::tid_t tid)
lldb::ThreadSP GetSelectedThread()
void PushExpressionExecutionThread(lldb::tid_t tid)
lldb::ThreadSP GetExpressionExecutionThread()