Lines Matching refs:m_threads
19 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 std::upper_bound(m_threads.begin(), m_threads.end(), 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()
56 return m_threads.size(); in GetSize()
62 if (idx < m_threads.size()) in GetThreadAtIndex()
63 thread_sp = m_threads[idx]; in GetThreadAtIndex()