#include "base/task/thread_pool/worker_thread_set.h"
#include "base/check_op.h"
#include "base/containers/contains.h"
#include "base/ranges/algorithm.h"
#include "base/task/thread_pool/worker_thread.h"
namespace base::internal {
bool WorkerThreadSet::Compare::operator()(const WorkerThread* a,
const WorkerThread* b) const { … }
WorkerThreadSet::WorkerThreadSet() = default;
WorkerThreadSet::~WorkerThreadSet() = default;
void WorkerThreadSet::Insert(WorkerThread* worker) { … }
WorkerThread* WorkerThreadSet::Take() { … }
WorkerThread* WorkerThreadSet::Peek() const { … }
bool WorkerThreadSet::Contains(const WorkerThread* worker) const { … }
void WorkerThreadSet::Remove(const WorkerThread* worker) { … }
}