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

Public Member Functions

void Post ()
 
 SimpleSemaphore ()
 
void Wait ()
 

Private Attributes

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

Detailed Description

Definition at line 38 of file per_thread_sem_test.cc.

Constructor & Destructor Documentation

◆ SimpleSemaphore()

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

Definition at line 40 of file per_thread_sem_test.cc.

Member Function Documentation

◆ Post()

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

Definition at line 58 of file per_thread_sem_test.cc.

◆ Wait()

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

Definition at line 47 of file per_thread_sem_test.cc.

Member Data Documentation

◆ count_

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

Definition at line 67 of file per_thread_sem_test.cc.

◆ cv_

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

Definition at line 66 of file per_thread_sem_test.cc.

◆ mu_

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

Definition at line 65 of file per_thread_sem_test.cc.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23