Home
last modified time | relevance | path

Searched refs:DBusRMutex (Results 1 – 10 of 10) sorted by relevance

/external/dbus/dbus/
Ddbus-threads-internal.h39 typedef struct DBusRMutex DBusRMutex; typedef
51 void _dbus_rmutex_lock (DBusRMutex *mutex);
52 void _dbus_rmutex_unlock (DBusRMutex *mutex);
53 void _dbus_rmutex_new_at_location (DBusRMutex **location_p);
54 void _dbus_rmutex_free_at_location (DBusRMutex **location_p);
74 DBusRMutex *_dbus_platform_rmutex_new (void);
75 void _dbus_platform_rmutex_free (DBusRMutex *mutex);
76 void _dbus_platform_rmutex_lock (DBusRMutex *mutex);
77 void _dbus_platform_rmutex_unlock (DBusRMutex *mutex);
Ddbus-threads.c37 #define _DBUS_DUMMY_RMUTEX ((DBusRMutex *) _DBUS_DUMMY_MUTEX)
70 _dbus_rmutex_new_at_location (DBusRMutex **location_p) in _dbus_rmutex_new_at_location()
125 _dbus_rmutex_free_at_location (DBusRMutex **location_p) in _dbus_rmutex_free_at_location()
173 _dbus_rmutex_lock (DBusRMutex *mutex) in _dbus_rmutex_lock()
197 _dbus_rmutex_unlock (DBusRMutex *mutex) in _dbus_rmutex_unlock()
349 DBusRMutex ***locks = data; in shutdown_global_locks()
383 DBusRMutex **mp; in init_uninitialized_locks()
455 DBusRMutex **mp; in init_uninitialized_locks()
489 DBusRMutex ***dynamic_global_locks; in init_locks()
490 DBusRMutex **global_locks[] = { in init_locks()
[all …]
Ddbus-sysdeps-pthread.c46 struct DBusRMutex { struct
104 DBusRMutex *
107 DBusRMutex *pmutex; in _dbus_platform_rmutex_new()
111 pmutex = dbus_new (DBusRMutex, 1); in _dbus_platform_rmutex_new()
141 _dbus_platform_rmutex_free (DBusRMutex *mutex) in _dbus_platform_rmutex_free()
154 _dbus_platform_rmutex_lock (DBusRMutex *mutex) in _dbus_platform_rmutex_lock()
166 _dbus_platform_rmutex_unlock (DBusRMutex *mutex) in _dbus_platform_rmutex_unlock()
Ddbus-sysdeps-thread-win.c101 DBusRMutex *
106 return (DBusRMutex *) handle; in _dbus_platform_rmutex_new()
116 _dbus_platform_rmutex_free (DBusRMutex *mutex) in _dbus_platform_rmutex_free()
128 _dbus_platform_rmutex_lock (DBusRMutex *mutex) in _dbus_platform_rmutex_lock()
140 _dbus_platform_rmutex_unlock (DBusRMutex *mutex) in _dbus_platform_rmutex_unlock()
Ddbus-dataslot.h60 DBusRMutex **lock_loc; /**< location of thread lock */
75 DBusRMutex **mutex_loc,
Ddbus-dataslot.c70 DBusRMutex **mutex_loc, in _dbus_data_slot_allocator_alloc()
193 DBusRMutex **mutex_loc = allocator->lock_loc; in _dbus_data_slot_allocator_free()
387 DBusRMutex *mutex; in _dbus_data_slot_test()
Ddbus-internals.h307 #define _DBUS_DECLARE_GLOBAL_LOCK(name) extern DBusRMutex *_dbus_lock_##name
308 #define _DBUS_DEFINE_GLOBAL_LOCK(name) DBusRMutex *_dbus_lock_##name
Ddbus-server-protected.h60 DBusRMutex *mutex; /**< Lock on the server object */
Ddbus-server.c1096 (DBusRMutex **)&_DBUS_LOCK_NAME (server_slots), in dbus_server_allocate_data_slot()
Ddbus-connection.c268 DBusRMutex *mutex; /**< Lock on the entire DBusConnection */
294DBusRMutex *slot_mutex; /**< Lock on slot_list so overall connection lock need not be taken…