clang-tools 20.0.0git
|
A point in time we can wait for. More...
#include <Threading.h>
Public Member Functions | |
Deadline (std::chrono::steady_clock::time_point Time) | |
std::chrono::steady_clock::time_point | time () const |
bool | expired () const |
bool | operator== (const Deadline &Other) const |
Static Public Member Functions | |
static Deadline | zero () |
static Deadline | infinity () |
A point in time we can wait for.
Can be zero (don't wait) or infinity (wait forever). (Not time_point::max(), because many std::chrono implementations overflow).
Definition at line 46 of file Threading.h.
|
inline |
Definition at line 48 of file Threading.h.
|
inline |
Definition at line 57 of file Threading.h.
|
inlinestatic |
Definition at line 51 of file Threading.h.
Referenced by clang::clangd::timeoutSeconds(), clang::clangd::Notification::wait(), clang::clangd::AsyncTaskRunner::wait(), clang::clangd::wait(), clang::clangd::ClangdServer::~ClangdServer(), and clang::clangd::FeatureModule::~FeatureModule().
|
inline |
Definition at line 61 of file Threading.h.
|
inline |
Definition at line 53 of file Threading.h.
|
inlinestatic |
Definition at line 50 of file Threading.h.
Referenced by clang::clangd::wait().