1 #ifndef _SIGX_GLIB_LOCKABLES_HPP_
2 #define _SIGX_GLIB_LOCKABLES_HPP_
31 #include <glibmm/thread.h>
43 template<
typename T_type>
59 template<
typename T_type>
75 template<
typename T_type>
84 g_static_mutex_init(this->
m_mutex.gobj());
90 g_static_mutex_init(this->
m_mutex.gobj());
96 template<
typename T_type>
112 template<
typename T_type>
121 g_static_rec_mutex_init(this->
m_mutex.gobj());
127 g_static_rec_mutex_init(this->
m_mutex.gobj());
135 typedef Glib::RWLock::ReaderLock
type;
141 typedef Glib::RWLock::WriterLock
type;
144 template<locking_policy I_policy>
147 typedef Glib::Mutex::Lock
type;
150 template<locking_policy I_policy>
153 typedef Glib::RecMutex::Lock
type;
156 template<locking_policy I_policy>
159 typedef Glib::Mutex::Lock
type;
162 template<locking_policy I_policy>
165 typedef Glib::RecMutex::Lock
type;
178 #endif // end file guard