DBus::Threading< Mx, Cv > Struct Template Reference

#include <dispatcher.h>

Static Public Member Functions

static void init ()
 
static Mutexmutex_new ()
 
static bool mutex_free (Mutex *mx)
 
static bool mutex_lock (Mutex *mx)
 
static void mutex_unlock (Mutex *mx)
 
static CondVarcondvar_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

◆ condvar_free()

template<class Mx , class Cv >
static void DBus::Threading< Mx, Cv >::condvar_free ( CondVar cv)
inlinestatic

Definition at line 304 of file dispatcher.h.

Referenced by DBus::Threading< Mx, Cv >::init().

◆ condvar_new()

template<class Mx , class Cv >
static CondVar * DBus::Threading< Mx, Cv >::condvar_new ( )
inlinestatic

Definition at line 299 of file dispatcher.h.

Referenced by DBus::Threading< Mx, Cv >::init().

◆ condvar_wait()

template<class Mx , class Cv >
static void DBus::Threading< Mx, Cv >::condvar_wait ( CondVar cv,
Mutex mx 
)
inlinestatic

Definition at line 309 of file dispatcher.h.

References DBus::CondVar::wait().

Referenced by DBus::Threading< Mx, Cv >::init().

◆ condvar_wait_timeout()

template<class Mx , class Cv >
static bool DBus::Threading< Mx, Cv >::condvar_wait_timeout ( CondVar cv,
Mutex mx,
int  timeout 
)
inlinestatic

Definition at line 314 of file dispatcher.h.

References DBus::CondVar::wait_timeout().

Referenced by DBus::Threading< Mx, Cv >::init().

◆ condvar_wake_all()

template<class Mx , class Cv >
static void DBus::Threading< Mx, Cv >::condvar_wake_all ( CondVar cv)
inlinestatic

Definition at line 324 of file dispatcher.h.

References DBus::CondVar::wake_all().

Referenced by DBus::Threading< Mx, Cv >::init().

◆ condvar_wake_one()

template<class Mx , class Cv >
static void DBus::Threading< Mx, Cv >::condvar_wake_one ( CondVar cv)
inlinestatic

Definition at line 319 of file dispatcher.h.

References DBus::CondVar::wake_one().

Referenced by DBus::Threading< Mx, Cv >::init().

◆ init()

◆ mutex_free()

template<class Mx , class Cv >
static bool DBus::Threading< Mx, Cv >::mutex_free ( Mutex mx)
inlinestatic

Definition at line 271 of file dispatcher.h.

Referenced by DBus::Threading< Mx, Cv >::init().

◆ mutex_lock()

template<class Mx , class Cv >
static bool DBus::Threading< Mx, Cv >::mutex_lock ( Mutex mx)
inlinestatic

Definition at line 277 of file dispatcher.h.

References DBus::Mutex::lock().

Referenced by DBus::Threading< Mx, Cv >::init().

◆ mutex_new()

template<class Mx , class Cv >
static Mutex * DBus::Threading< Mx, Cv >::mutex_new ( )
inlinestatic

Definition at line 265 of file dispatcher.h.

Referenced by DBus::Threading< Mx, Cv >::init().

◆ mutex_unlock()

template<class Mx , class Cv >
static void DBus::Threading< Mx, Cv >::mutex_unlock ( Mutex mx)
inlinestatic

Definition at line 294 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: