#include <per_thread_sem.h>
Public Member Functions | |
| PerThreadSem & | operator= (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::ThreadIdentity * | CreateThreadIdentity () |
| class | PerThreadSemTest |
Definition at line 40 of file per_thread_sem.h.
| std::atomic< int > * absl::synchronization_internal::PerThreadSem::GetThreadBlockedCounter | ( | ) | [static] |
Definition at line 36 of file per_thread_sem.cc.
| void absl::synchronization_internal::PerThreadSem::Init | ( | base_internal::ThreadIdentity * | identity | ) | [static, private] |
Definition at line 42 of file per_thread_sem.cc.
| PerThreadSem& absl::synchronization_internal::PerThreadSem::operator= | ( | const PerThreadSem & | ) |
| void absl::synchronization_internal::PerThreadSem::Post | ( | base_internal::ThreadIdentity * | identity | ) | [inline, static, private] |
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.
| void absl::synchronization_internal::PerThreadSem::Tick | ( | base_internal::ThreadIdentity * | identity | ) | [static] |
Definition at line 49 of file per_thread_sem.cc.
| bool absl::synchronization_internal::PerThreadSem::Wait | ( | KernelTimeout | t | ) | [inline, static, private] |
Definition at line 103 of file per_thread_sem.h.
friend class absl::Mutex [friend] |
Definition at line 78 of file per_thread_sem.h.
| absl::base_internal::ThreadIdentity* CreateThreadIdentity | ( | ) | [friend] |
Definition at line 125 of file create_thread_identity.cc.
friend class PerThreadSemTest [friend] |
Definition at line 77 of file per_thread_sem.h.