ardour
|
#include <glib_semaphore.h>
Public Member Functions | |
GlibSemaphore (gint initial_val=1) | |
void | wait () |
bool | try_wait () |
void | post () |
Private Member Functions | |
GlibSemaphore (const GlibSemaphore &sema) | |
GlibSemaphore & | operator= (const GlibSemaphore &sema) |
Private Attributes | |
atomic_counter | m_counter |
Glib::Threads::Cond | m_cond |
Glib::Threads::Mutex | m_mutex |
Definition at line 30 of file glib_semaphore.h.
|
private |
PBD::GlibSemaphore::GlibSemaphore | ( | gint | initial_val = 1 | ) |
Definition at line 24 of file glib_semaphore.cc.
|
private |
void PBD::GlibSemaphore::post | ( | ) |
Definition at line 61 of file glib_semaphore.cc.
bool PBD::GlibSemaphore::try_wait | ( | ) |
Definition at line 43 of file glib_semaphore.cc.
void PBD::GlibSemaphore::wait | ( | ) |
Definition at line 30 of file glib_semaphore.cc.
|
private |
Definition at line 50 of file glib_semaphore.h.
|
private |
Definition at line 49 of file glib_semaphore.h.
|
private |
Definition at line 51 of file glib_semaphore.h.