diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-09-14 04:26:00 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-09-14 04:26:00 +0000 |
commit | 57ab23491c8c80b4a1606ea3b72e179c1b742bb9 (patch) | |
tree | 2e1c63b4be9d4a7b22cb9473dab60a68f921edf0 /dbus/dbus-threads-internal.h | |
parent | f82bdd3ab39cc5741189a4ab16dc3533a79c6617 (diff) |
* dbus/dbus-threads.c: Allow recursive mutex's to be passed into
dbus_threads_init and be used by the dbus mutex functions to
avoid deadlocks.
* doc/TODO: Remove recursive mutex dbus_connection_dispatch TODO item
Diffstat (limited to 'dbus/dbus-threads-internal.h')
-rw-r--r-- | dbus/dbus-threads-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-threads-internal.h b/dbus/dbus-threads-internal.h index 700c4f75..8f26bca1 100644 --- a/dbus/dbus-threads-internal.h +++ b/dbus/dbus-threads-internal.h @@ -31,8 +31,8 @@ DBUS_BEGIN_DECLS DBusMutex* _dbus_mutex_new (void); void _dbus_mutex_free (DBusMutex *mutex); -dbus_bool_t _dbus_mutex_lock (DBusMutex *mutex); -dbus_bool_t _dbus_mutex_unlock (DBusMutex *mutex); +void _dbus_mutex_lock (DBusMutex *mutex); +void _dbus_mutex_unlock (DBusMutex *mutex); void _dbus_mutex_new_at_location (DBusMutex **location_p); void _dbus_mutex_free_at_location (DBusMutex **location_p); |