Lines Matching refs:m_threads
20 ThreadCollection::ThreadCollection() : m_threads(), m_mutex() {} in ThreadCollection()
23 : m_threads(threads), m_mutex() {} in ThreadCollection()
27 m_threads.push_back(thread_sp); in AddThread()
34 if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id) in AddThreadSortedByIndexID()
35 m_threads.push_back(thread_sp); in AddThreadSortedByIndexID()
37 m_threads.insert( in AddThreadSortedByIndexID()
38 std::upper_bound(m_threads.begin(), m_threads.end(), thread_sp, in AddThreadSortedByIndexID()
49 if (idx < m_threads.size()) in InsertThread()
50 m_threads.insert(m_threads.begin() + idx, thread_sp); in InsertThread()
52 m_threads.push_back(thread_sp); in InsertThread()
57 return m_threads.size(); in GetSize()
63 if (idx < m_threads.size()) in GetThreadAtIndex()
64 thread_sp = m_threads[idx]; in GetThreadAtIndex()