clang-tools 20.0.0git
|
A work item on the thread pool's queue. More...
#include <Background.h>
Public Member Functions | |
Task (std::function< void()> Run) | |
bool | operator< (const Task &O) const |
Public Attributes | |
std::function< void()> | Run |
llvm::ThreadPriority | ThreadPri = llvm::ThreadPriority::Low |
unsigned | QueuePri = 0 |
std::string | Tag |
uint64_t | Key = 0 |
A work item on the thread pool's queue.
Definition at line 72 of file Background.h.
|
inlineexplicit |
Definition at line 73 of file Background.h.
|
inline |
Definition at line 82 of file Background.h.
References QueuePri.
uint64_t clang::clangd::BackgroundQueue::Task::Key = 0 |
Definition at line 79 of file Background.h.
unsigned clang::clangd::BackgroundQueue::Task::QueuePri = 0 |
Definition at line 77 of file Background.h.
Referenced by operator<().
std::function<void()> clang::clangd::BackgroundQueue::Task::Run |
Definition at line 75 of file Background.h.
Referenced by clang::clangd::BackgroundQueue::work().
std::string clang::clangd::BackgroundQueue::Task::Tag |
Definition at line 78 of file Background.h.
llvm::ThreadPriority clang::clangd::BackgroundQueue::Task::ThreadPri = llvm::ThreadPriority::Low |
Definition at line 76 of file Background.h.
Referenced by clang::clangd::BackgroundQueue::work().