#include "index/Background.h"
#include "support/Logger.h"
#include <optional>
namespace clang {
namespace clangd {
static std::atomic<bool> PreventStarvation = …;
void BackgroundQueue::preventThreadStarvationInTests() { … }
void BackgroundQueue::work(std::function<void()> OnIdle) { … }
void BackgroundQueue::stop() { … }
bool BackgroundQueue::adjust(Task &T) { … }
void BackgroundQueue::push(Task T) { … }
void BackgroundQueue::append(std::vector<Task> Tasks) { … }
void BackgroundQueue::boost(llvm::StringRef Tag, unsigned NewPriority) { … }
bool BackgroundQueue::blockUntilIdleForTest(
std::optional<double> TimeoutSeconds) { … }
void BackgroundQueue::notifyProgress() const { … }
}
}