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

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

Definition at line 40 of file per_thread_sem_test.cc.

Member Function Documentation

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

Definition at line 58 of file per_thread_sem_test.cc.

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

Definition at line 47 of file per_thread_sem_test.cc.

Member Data Documentation

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

Definition at line 67 of file per_thread_sem_test.cc.

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

Definition at line 66 of file per_thread_sem_test.cc.

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 Wed Jun 19 2019 19:20:00