#include "Context.h"
#include "Function.h"
#include "llvm/ADT/Twine.h"
#include <cassert>
#include <condition_variable>
#include <memory>
#include <mutex>
#include <vector>
Go to the source code of this file.
|
Deadline | clang::clangd::timeoutSeconds (llvm::Optional< double > Seconds) |
| Makes a deadline from a timeout in seconds. None means wait forever. More...
|
|
void | clang::clangd::wait (std::unique_lock< std::mutex > &Lock, std::condition_variable &CV, Deadline D) |
| Wait once on CV for the specified duration. More...
|
|
template<typename Func > |
LLVM_NODISCARD bool | clang::clangd::wait (std::unique_lock< std::mutex > &Lock, std::condition_variable &CV, Deadline D, Func F) |
| Waits on a condition variable until F() is true or D expires. More...
|
|