Public Member Functions | Static Public Member Functions | Static Private Member Functions | Friends
absl::synchronization_internal::PerThreadSem Class Reference

#include <per_thread_sem.h>

List of all members.

Public Member Functions

PerThreadSemoperator= (const PerThreadSem &)
 PerThreadSem ()
 PerThreadSem (const PerThreadSem &)

Static Public Member Functions

static std::atomic< int > * GetThreadBlockedCounter ()
static void SetThreadBlockedCounter (std::atomic< int > *counter)
static void Tick (base_internal::ThreadIdentity *identity)

Static Private Member Functions

static void Init (base_internal::ThreadIdentity *identity)
static void Post (base_internal::ThreadIdentity *identity)
static bool Wait (KernelTimeout t)

Friends

class absl::Mutex
absl::base_internal::ThreadIdentityCreateThreadIdentity ()
class PerThreadSemTest

Detailed Description

Definition at line 40 of file per_thread_sem.h.


Constructor & Destructor Documentation


Member Function Documentation

Definition at line 36 of file per_thread_sem.cc.

Definition at line 42 of file per_thread_sem.cc.

PerThreadSem& absl::synchronization_internal::PerThreadSem::operator= ( const PerThreadSem )

Definition at line 98 of file per_thread_sem.h.

void absl::synchronization_internal::PerThreadSem::SetThreadBlockedCounter ( std::atomic< int > *  counter) [static]

Definition at line 30 of file per_thread_sem.cc.

Definition at line 49 of file per_thread_sem.cc.

Definition at line 103 of file per_thread_sem.h.


Friends And Related Function Documentation

friend class absl::Mutex [friend]

Definition at line 78 of file per_thread_sem.h.

Definition at line 125 of file create_thread_identity.cc.

friend class PerThreadSemTest [friend]

Definition at line 77 of file per_thread_sem.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17