reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/include/lldb/Target/ThreadCollection.h
   47     return ThreadIterable(m_threads, GetMutex());
tools/lldb/source/Target/ThreadCollection.cpp
   26   m_threads.push_back(thread_sp);
   33   if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id)
   33   if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id)
   34     m_threads.push_back(thread_sp);
   36     m_threads.insert(
   37         std::upper_bound(m_threads.begin(), m_threads.end(), thread_sp,
   37         std::upper_bound(m_threads.begin(), m_threads.end(), thread_sp,
   48   if (idx < m_threads.size())
   49     m_threads.insert(m_threads.begin() + idx, thread_sp);
   49     m_threads.insert(m_threads.begin() + idx, thread_sp);
   51     m_threads.push_back(thread_sp);
   56   return m_threads.size();
   62   if (idx < m_threads.size())
   63     thread_sp = m_threads[idx];
tools/lldb/source/Target/ThreadList.cpp
   47     m_threads = rhs.m_threads;
   47     m_threads = rhs.m_threads;
   87   return m_threads.size();
   97   if (idx < m_threads.size())
   98     thread_sp = m_threads[idx];
  110   const uint32_t num_threads = m_threads.size();
  112     if (m_threads[idx]->GetID() == tid) {
  113       thread_sp = m_threads[idx];
  128   const uint32_t num_threads = m_threads.size();
  130     if (m_threads[idx]->GetProtocolID() == tid) {
  131       thread_sp = m_threads[idx];
  146   const uint32_t num_threads = m_threads.size();
  148     if (m_threads[idx]->GetID() == tid) {
  149       thread_sp = m_threads[idx];
  150       m_threads.erase(m_threads.begin() + idx);
  150       m_threads.erase(m_threads.begin() + idx);
  166   const uint32_t num_threads = m_threads.size();
  168     if (m_threads[idx]->GetProtocolID() == tid) {
  169       thread_sp = m_threads[idx];
  170       m_threads.erase(m_threads.begin() + idx);
  170       m_threads.erase(m_threads.begin() + idx);
  183     const uint32_t num_threads = m_threads.size();
  185       if (m_threads[idx].get() == thread_ptr) {
  186         thread_sp = m_threads[idx];
  198   const uint32_t num_threads = m_threads.size();
  200     if (m_threads[idx]->GetBackingThread() == real_thread) {
  201       thread_sp = m_threads[idx];
  215   const uint32_t num_threads = m_threads.size();
  217     if (m_threads[idx]->GetIndexID() == index_id) {
  218       thread_sp = m_threads[idx];
  244     for (lldb::ThreadSP thread_sp : m_threads) {
  263       threads_copy = m_threads;
  273               __FUNCTION__, (uint64_t)m_threads.size(),
  361   collection::iterator pos, end = m_threads.end();
  366             (uint64_t)m_threads.size());
  371   for (pos = m_threads.begin(); pos != end; ++pos) {
  401   collection::iterator pos, end = m_threads.end();
  402   for (pos = m_threads.begin(); pos != end; ++pos) {
  414   collection::iterator pos, end = m_threads.end();
  421   for (pos = m_threads.begin(); pos != end; ++pos) {
  446   m_threads.clear();
  452   const uint32_t num_threads = m_threads.size();
  454     m_threads[idx]->DestroyThread();
  469   collection::iterator pos, end = m_threads.end();
  470   for (pos = m_threads.begin(); pos != end; ++pos)
  479   collection::iterator pos, end = m_threads.end();
  480   for (pos = m_threads.begin(); pos != end; ++pos)
  492   collection::iterator pos, end = m_threads.end();
  503   for (pos = m_threads.begin(); pos != end; ++pos) {
  535   for (pos = m_threads.begin(); pos != end; ++pos) {
  554   for (pos = m_threads.begin(); pos != end; ++pos) {
  582     for (pos = m_threads.begin(); pos != end; ++pos) {
  606     for (pos = m_threads.begin(); pos != end; ++pos) {
  621   collection::iterator pos, end = m_threads.end();
  622   for (pos = m_threads.begin(); pos != end; ++pos) {
  633   collection::iterator pos, end = m_threads.end();
  634   for (pos = m_threads.begin(); pos != end; ++pos) {
  652     if (m_threads.size() == 0)
  654     m_selected_tid = m_threads[0]->GetID();
  655     thread_sp = m_threads[0];
  707     m_threads.swap(rhs.m_threads);
  707     m_threads.swap(rhs.m_threads);
  716     collection::iterator rhs_pos, rhs_end = rhs.m_threads.end();
  717     for (rhs_pos = rhs.m_threads.begin(); rhs_pos != rhs_end; ++rhs_pos) {
  720       const uint32_t num_threads = m_threads.size();
  722         ThreadSP backing_thread = m_threads[idx]->GetBackingThread();
  723         if (m_threads[idx]->GetID() == tid ||
  737   collection::iterator pos, end = m_threads.end();
  738   for (pos = m_threads.begin(); pos != end; ++pos)