clang-tools 20.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
 
bool wait (Deadline D) const
 

Detailed Description

A threadsafe flag that is initially clear.

Definition at line 91 of file Threading.h.

Member Function Documentation

◆ notify()

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

Definition at line 28 of file Threading.cpp.

Referenced by clang::clangd::TEST_F().

◆ wait() [1/2]

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

Definition at line 96 of file Threading.h.

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

Referenced by clang::clangd::TEST_F(), and wait().

◆ wait() [2/2]

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

Definition at line 38 of file Threading.cpp.

References clang::clangd::wait().


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