clang-tools 17.0.0git
Namespaces | Functions
Threading.cpp File Reference
#include "support/Threading.h"
#include "support/Trace.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/thread.h"
#include <atomic>
#include <optional>
#include <thread>
Include dependency graph for Threading.cpp:

Go to the source code of this file.


namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd


Deadline clang::clangd::timeoutSeconds (std::optional< double > Seconds)
 Makes a deadline from a timeout in seconds. None means wait forever.
void clang::clangd::wait (std::unique_lock< std::mutex > &Lock, std::condition_variable &CV, Deadline D)
 Wait once on CV for the specified duration.