DBus::Threading< Mx, Cv > Struct Template Reference
#include <dispatcher.h>
Static Public Member Functions | |
static void | init () |
static Mutex * | mutex_new () |
static void | mutex_free (Mutex *mx) |
static void | mutex_lock (Mutex *mx) |
static void | mutex_unlock (Mutex *mx) |
static CondVar * | condvar_new () |
static void | condvar_free (CondVar *cv) |
static void | condvar_wait (CondVar *cv, Mutex *mx) |
static bool | condvar_wait_timeout (CondVar *cv, Mutex *mx, int timeout) |
static void | condvar_wake_one (CondVar *cv) |
static void | condvar_wake_all (CondVar *cv) |
Detailed Description
template<class Mx, class Cv>
struct DBus::Threading< Mx, Cv >
Definition at line 255 of file dispatcher.h.
Member Function Documentation
static void DBus::Threading< Mx, Cv >::condvar_free | ( | CondVar * | cv | ) | [inline, static] |
Definition at line 290 of file dispatcher.h.
Referenced by DBus::Threading< Mx, Cv >::init().
static CondVar* DBus::Threading< Mx, Cv >::condvar_new | ( | ) | [inline, static] |
Definition at line 285 of file dispatcher.h.
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::condvar_wait | ( | CondVar * | cv, | |
Mutex * | mx | |||
) | [inline, static] |
Definition at line 295 of file dispatcher.h.
References DBus::CondVar::wait().
Referenced by DBus::Threading< Mx, Cv >::init().
static bool DBus::Threading< Mx, Cv >::condvar_wait_timeout | ( | CondVar * | cv, | |
Mutex * | mx, | |||
int | timeout | |||
) | [inline, static] |
Definition at line 300 of file dispatcher.h.
References DBus::CondVar::wait_timeout().
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::condvar_wake_all | ( | CondVar * | cv | ) | [inline, static] |
Definition at line 310 of file dispatcher.h.
References DBus::CondVar::wake_all().
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::condvar_wake_one | ( | CondVar * | cv | ) | [inline, static] |
Definition at line 305 of file dispatcher.h.
References DBus::CondVar::wake_one().
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::init | ( | ) | [inline, static] |
Definition at line 257 of file dispatcher.h.
References DBus::_init_threading(), DBus::Threading< Mx, Cv >::condvar_free(), DBus::Threading< Mx, Cv >::condvar_new(), DBus::Threading< Mx, Cv >::condvar_wait(), DBus::Threading< Mx, Cv >::condvar_wait_timeout(), DBus::Threading< Mx, Cv >::condvar_wake_all(), DBus::Threading< Mx, Cv >::condvar_wake_one(), DBus::Threading< Mx, Cv >::mutex_free(), DBus::Threading< Mx, Cv >::mutex_lock(), DBus::Threading< Mx, Cv >::mutex_new(), and DBus::Threading< Mx, Cv >::mutex_unlock().
static void DBus::Threading< Mx, Cv >::mutex_free | ( | Mutex * | mx | ) | [inline, static] |
Definition at line 270 of file dispatcher.h.
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::mutex_lock | ( | Mutex * | mx | ) | [inline, static] |
Definition at line 275 of file dispatcher.h.
References DBus::Mutex::lock().
Referenced by DBus::Threading< Mx, Cv >::init().
static Mutex* DBus::Threading< Mx, Cv >::mutex_new | ( | ) | [inline, static] |
Definition at line 265 of file dispatcher.h.
Referenced by DBus::Threading< Mx, Cv >::init().
static void DBus::Threading< Mx, Cv >::mutex_unlock | ( | Mutex * | mx | ) | [inline, static] |
Definition at line 280 of file dispatcher.h.
References DBus::Mutex::unlock().
Referenced by DBus::Threading< Mx, Cv >::init().
The documentation for this struct was generated from the following file: