|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
binary_semaphore for concurrent monitor More...
#include <semaphore.h>
Public Member Functions | |
| binary_semaphore () | |
| ctor More... | |
| ~binary_semaphore () | |
| dtor More... | |
| void | P () |
| wait/acquire More... | |
| void | V () |
| post/release More... | |
Private Attributes | |
| sem_t | my_sem |
Additional Inherited Members | |
Private Member Functions inherited from tbb::internal::no_copy | |
| no_copy (const no_copy &)=delete | |
| no_copy ()=default | |
binary_semaphore for concurrent monitor
Definition at line 222 of file semaphore.h.
|
inline |
ctor
Definition at line 225 of file semaphore.h.
References __TBB_ASSERT_EX, and my_sem.
|
inline |
dtor
Definition at line 230 of file semaphore.h.
References __TBB_ASSERT_EX, and my_sem.
Referenced by tbb::internal::concurrent_monitor::thread_context::~thread_context().
|
inline |
wait/acquire
Definition at line 235 of file semaphore.h.
References __TBB_ASSERT, and my_sem.
Referenced by tbb::internal::concurrent_monitor::commit_wait(), tbb::internal::concurrent_monitor::prepare_wait(), and tbb::internal::concurrent_monitor::thread_context::~thread_context().
|
inline |
post/release
Definition at line 240 of file semaphore.h.
References my_sem.
Referenced by tbb::internal::concurrent_monitor::abort_all_relaxed(), tbb::internal::concurrent_monitor::notify_all_relaxed(), tbb::internal::concurrent_monitor::notify_one_relaxed(), and tbb::internal::concurrent_monitor::notify_relaxed().
|
private |
Definition at line 242 of file semaphore.h.
Referenced by binary_semaphore(), P(), V(), and ~binary_semaphore().