Home
last modified time | relevance | path

Searched refs:m_threads (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp47 m_threads = rhs.m_threads; in operator =()
87 return m_threads.size(); in GetSize()
97 if (idx < m_threads.size()) in GetThreadAtIndex()
98 thread_sp = m_threads[idx]; in GetThreadAtIndex()
110 const uint32_t num_threads = m_threads.size(); in FindThreadByID()
112 if (m_threads[idx]->GetID() == tid) { in FindThreadByID()
113 thread_sp = m_threads[idx]; in FindThreadByID()
128 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID()
130 if (m_threads[idx]->GetProtocolID() == tid) { in FindThreadByProtocolID()
131 thread_sp = m_threads[idx]; in FindThreadByProtocolID()
[all …]
H A DThreadCollection.cpp19 ThreadCollection::ThreadCollection() : m_threads(), m_mutex() {} in ThreadCollection()
22 : m_threads(threads), m_mutex() {} in ThreadCollection()
26 m_threads.push_back(thread_sp); in AddThread()
33 if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id) in AddThreadSortedByIndexID()
34 m_threads.push_back(thread_sp); in AddThreadSortedByIndexID()
36 m_threads.insert( in AddThreadSortedByIndexID()
37 llvm::upper_bound(m_threads, thread_sp, in AddThreadSortedByIndexID()
48 if (idx < m_threads.size()) in InsertThread()
49 m_threads.insert(m_threads.begin() + idx, thread_sp); in InsertThread()
51 m_threads.push_back(thread_sp); in InsertThread()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBQueue.cpp38 m_threads = rhs.m_threads; in QueueImpl()
51 m_threads.clear(); in Clear()
98 m_threads.push_back(thread_sp); in FetchThreads()
132 result = m_threads.size(); in GetNumThreads()
142 if (queue_sp && idx < m_threads.size()) { in GetThreadAtIndex()
145 ThreadSP thread_sp = m_threads[idx].lock(); in GetThreadAtIndex()
204 m_threads; // threads currently executing this queue's items member in lldb_private::QueueImpl
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp117 for (const auto &thread : process_up->m_threads) in Launch()
195 m_threads.clear(); in MonitorExited()
205 for (const auto &thread : m_threads) { in MonitorSIGSTOP()
272 for (const auto &thread : m_threads) in MonitorSIGTRAP()
274 SetCurrentThreadID(m_threads.front()->GetID()); in MonitorSIGTRAP()
280 for (const auto &t : m_threads) { in MonitorSIGTRAP()
389 for (const auto &abs_thread : m_threads) { in MonitorSignal()
458 for (const auto &abs_thread : m_threads) { in Resume()
719 size_t NativeProcessFreeBSD::UpdateThreads() { return m_threads.size(); } in UpdateThreads()
807 for (const auto &thread : m_threads) { in HasThreadNoLock()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp104 for (const auto &thread : process_up->m_threads) in Launch()
178 m_threads.clear(); in MonitorExited()
198 for (const auto &thread : m_threads) { in MonitorSIGSTOP()
225 for (const auto &t : m_threads) { in MonitorSIGTRAP()
233 LLDB_LOG(log, "thread not found in m_threads, pid = {0}, LWP = {1}", pid, in MonitorSIGTRAP()
260 for (const auto &thread : m_threads) in MonitorSIGTRAP()
370 for (const auto &abs_thread : m_threads) { in MonitorSignal()
489 ComputeSignalInfo(m_threads, resume_actions); in Resume()
493 for (const auto &abs_thread : m_threads) { in Resume()
746 size_t NativeProcessNetBSD::UpdateThreads() { return m_threads in GetLoadedModuleFileSpec()
[all...]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadCollection.h47 return ThreadIterable(m_threads, GetMutex()); in Threads()
53 collection m_threads;
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp102 if (idx < m_threads.size()) in GetThreadAtIndex()
103 return m_threads[idx].get(); in GetThreadAtIndex()
109 for (const auto &thread : m_threads) { in GetThreadByIDUnlocked()
174 for (const auto &thread : m_threads) { in SetWatchpoint()
215 for (const auto &thread : m_threads) { in RemoveWatchpoint()
261 for (const auto &thread : m_threads) { in SetHardwareBreakpoint()
300 for (const auto &thread : m_threads) { in RemoveHardwareBreakpoint()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h226 return ThreadIterable(m_threads, m_threads_mutex); in Threads()
426 std::vector<std::unique_ptr<NativeThreadProtocol>> m_threads; variable