9#ifndef LLDB_TARGET_THREADCOLLECTION_H
10#define LLDB_TARGET_THREADCOLLECTION_H
void AddThreadSortedByIndexID(const lldb::ThreadSP &thread_sp)
virtual std::recursive_mutex & GetMutex() const
std::vector< lldb::ThreadSP > collection
lldb::ThreadSP GetThreadAtIndex(uint32_t idx)
std::recursive_mutex m_mutex
void AddThread(const lldb::ThreadSP &thread_sp)
virtual ThreadIterable Threads()
virtual ~ThreadCollection()=default
void InsertThread(const lldb::ThreadSP &thread_sp, uint32_t idx)
LockingAdaptedIterable< collection, lldb::ThreadSP, vector_adapter, std::recursive_mutex > ThreadIterable
A class that represents a running process on the host machine.
E vector_adapter(I &iter)
std::shared_ptr< lldb_private::Thread > ThreadSP