Public Member Functions | Private Attributes | List of all members
absl::synchronization_internal::SimpleSemaphore Class Reference

Public Member Functions

void Post ()
 
void Post ()
 
 SimpleSemaphore ()
 
 SimpleSemaphore ()
 
void Wait ()
 
void Wait ()
 

Private Attributes

int count_
 
std::condition_variable cv_
 
std::mutex mu_
 

Detailed Description

Definition at line 40 of file abseil-cpp/absl/synchronization/internal/per_thread_sem_test.cc.

Constructor & Destructor Documentation

◆ SimpleSemaphore() [1/2]

absl::synchronization_internal::SimpleSemaphore::SimpleSemaphore ( )
inline

◆ SimpleSemaphore() [2/2]

absl::synchronization_internal::SimpleSemaphore::SimpleSemaphore ( )
inline

Member Function Documentation

◆ Post() [1/2]

void absl::synchronization_internal::SimpleSemaphore::Post ( )
inline

◆ Post() [2/2]

void absl::synchronization_internal::SimpleSemaphore::Post ( )
inline

◆ Wait() [1/2]

void absl::synchronization_internal::SimpleSemaphore::Wait ( )
inline

◆ Wait() [2/2]

void absl::synchronization_internal::SimpleSemaphore::Wait ( )
inline

Member Data Documentation

◆ count_

int absl::synchronization_internal::SimpleSemaphore::count_
private

◆ cv_

std::condition_variable absl::synchronization_internal::SimpleSemaphore::cv_
private

◆ mu_

std::mutex absl::synchronization_internal::SimpleSemaphore::mu_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:55