clang-tools 22.0.0git
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::runCustomAction(), and clang::clangd::TEST_F().

◆ wait() [1/2]

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

◆ wait() [2/2]

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

Definition at line 38 of file Threading.cpp.

References clang::clangd::wait().


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