clang-tools  15.0.0git
Public Member Functions | List of all members
clang::clangd::Notification Class Reference

A threadsafe flag that is initially clear. More...

#include <Threading.h>

Public Member Functions

void notify ()
 
void wait () const
 
LLVM_NODISCARD bool wait (Deadline D) const
 

Detailed Description

A threadsafe flag that is initially clear.

Definition at line 90 of file Threading.h.

Member Function Documentation

◆ notify()

void clang::clangd::Notification::notify ( )

Definition at line 27 of file Threading.cpp.

◆ wait() [1/2]

void clang::clangd::Notification::wait ( ) const
inline

Definition at line 95 of file Threading.h.

References clang::clangd::Deadline::infinity(), and wait().

Referenced by wait().

◆ wait() [2/2]

bool clang::clangd::Notification::wait ( Deadline  D) const

Definition at line 37 of file Threading.cpp.

References ns1::ns2::D, and clang::clangd::wait().


The documentation for this class was generated from the following files: