clang-tools 20.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>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 

Functions

Deadline clang::clangd::timeoutSeconds (std::optional< double > Seconds)
 Makes a deadline from a timeout in seconds. std::nullopt 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.