Lines Matching defs:ThreadList
1 //===-- ThreadList.cpp ----------------------------------------------------===//
16 #include "lldb/Target/ThreadList.h"
26 ThreadList::ThreadList(Process &process)
30 ThreadList::ThreadList(const ThreadList &rhs)
37 const ThreadList &ThreadList::operator=(const ThreadList &rhs) {
53 ThreadList::~ThreadList() {
59 lldb::ThreadSP ThreadList::GetExpressionExecutionThread() {
69 void ThreadList::PushExpressionExecutionThread(lldb::tid_t tid) {
73 void ThreadList::PopExpressionExecutionThread(lldb::tid_t tid) {
78 uint32_t ThreadList::GetStopID() const { return m_stop_id; }
80 void ThreadList::SetStopID(uint32_t stop_id) { m_stop_id = stop_id; }
82 uint32_t ThreadList::GetSize(bool can_update) {
90 ThreadSP ThreadList::GetThreadAtIndex(uint32_t idx, bool can_update) {
102 ThreadSP ThreadList::FindThreadByID(lldb::tid_t tid, bool can_update) {
120 ThreadSP ThreadList::FindThreadByProtocolID(lldb::tid_t tid, bool can_update) {
138 ThreadSP ThreadList::RemoveThreadByID(lldb::tid_t tid, bool can_update) {
157 ThreadSP ThreadList::RemoveThreadByProtocolID(lldb::tid_t tid,
177 ThreadSP ThreadList::GetThreadSPForThreadPtr(Thread *thread_ptr) {
194 ThreadSP ThreadList::GetBackingThread(const ThreadSP &real_thread) {
208 ThreadSP ThreadList::FindThreadByIndexID(uint32_t index_id, bool can_update) {
225 bool ThreadList::ShouldStop(Event *event_ptr) {
232 // the ThreadList locked the whole time we are doing this.
274 "ThreadList::%s: %" PRIu64 " threads, %" PRIu64
287 log, "ThreadList::%s handling interrupt event, should stop set to true",
346 "ThreadList::{0} thread: {1:x}, "
357 "ThreadList::%s we stopped but no threads had a stop reason, "
362 LLDB_LOGF(log, "ThreadList::%s overall should_stop = %i", __FUNCTION__,
375 Vote ThreadList::ShouldReportStop(Event *event_ptr) {
384 LLDB_LOGF(log, "ThreadList::%s %" PRIu64 " threads", __FUNCTION__,
424 void ThreadList::SetShouldReportStop(Vote vote) {
435 Vote ThreadList::ShouldReportRun(Event *event_ptr) {
459 "ThreadList::ShouldReportRun() thread %d (0x%4.4" PRIx64
470 void ThreadList::Clear() {
477 void ThreadList::Destroy() {
485 void ThreadList::RefreshStateAfterStop() {
501 void ThreadList::DiscardThreadPlans() {
511 bool ThreadList::WillResume() {
524 ThreadList run_me_only_list(m_process);
646 void ThreadList::DidResume() {
658 void ThreadList::DidStop() {
675 ThreadSP ThreadList::GetSelectedThread() {
687 bool ThreadList::SetSelectedThreadByID(lldb::tid_t tid, bool notify) {
702 bool ThreadList::SetSelectedThreadByIndexID(uint32_t index_id, bool notify) {
717 void ThreadList::NotifySelectedThreadChanged(lldb::tid_t tid) {
728 void ThreadList::Update(ThreadList &rhs) {
772 void ThreadList::Flush() {
779 std::recursive_mutex &ThreadList::GetMutex() const {
783 ThreadList::ExpressionExecutionThreadPusher::ExpressionExecutionThreadPusher(