#include <cstdlib>
#include <algorithm>
#include <mutex>
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadCollection.h"
usingnamespacelldb;
usingnamespacelldb_private;
ThreadCollection::ThreadCollection() : … { … }
ThreadCollection::ThreadCollection(collection threads)
: … { … }
void ThreadCollection::AddThread(const ThreadSP &thread_sp) { … }
void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) { … }
void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp,
uint32_t idx) { … }
uint32_t ThreadCollection::GetSize() { … }
ThreadSP ThreadCollection::GetThreadAtIndex(uint32_t idx) { … }