Top |
pthread_mutex_t * | ags_mutex_manager_get_application_mutex () |
gboolean | ags_mutex_manager_insert () |
gboolean | ags_mutex_manager_remove () |
pthread_mutex_t * | ags_mutex_manager_lookup () |
AgsMutexManager * | ags_mutex_manager_get_instance () |
AgsMutexManager * | ags_mutex_manager_new () |
pthread_mutex_t *
ags_mutex_manager_get_application_mutex
(AgsMutexManager *mutex_manager
);
Retrieve the application mutex as per process pointer.
Since: 0.7.0
gboolean ags_mutex_manager_insert (AgsMutexManager *mutex_manager
,GObject *lock_object
,pthread_mutex_t *mutex
);
Inserts a mutex into hash map associated with lock_object
.
mutex_manager |
the AgsMutexManager |
|
lock_object |
the object as key |
|
mutex |
the mutex to insert |
Since: 0.5.0
gboolean ags_mutex_manager_remove (AgsMutexManager *mutex_manager
,GObject *lock_object
);
Removes a lock associated with lock_object.3
Since: 0.5.0
pthread_mutex_t * ags_mutex_manager_lookup (AgsMutexManager *mutex_manager
,GObject *lock_object
);
Lookup a mutex associated with lock_object
in mutex_manager
Since: 0.5.0
AgsMutexManager * ags_mutex_manager_get_instance ();
Singleton function to optain the mutex manager instance.
Since: 0.5.0
AgsMutexManager * ags_mutex_manager_new ();
Instantiate a mutex manager.
Since: 0.5.0