diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-02-20 10:00:48 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2003-02-20 10:00:48 +0000 |
commit | 5da911bce0310761514298444fde65d0a51ed85d (patch) | |
tree | e8ebc19be015ed46eb8ddc195a4c3b142d761506 /dbus/dbus-connection-internal.h | |
parent | 6b40feaff4114ab3498ad06e13063fceff4d48e9 (diff) |
2003-02-20 Alexander Larsson <alexl@redhat.com>
* dbus/dbus-transport-unix.c (unix_do_iteration):
Unlock the connection mutex during a blocking select call.
Add todo about how we need a way to wake up the select.
* dbus/dbus-connection-internal.h:
* dbus/dbus-connection.c:
Add _dbus_connection_lock and _dbus_connection_unlock.
Diffstat (limited to 'dbus/dbus-connection-internal.h')
-rw-r--r-- | dbus/dbus-connection-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-connection-internal.h b/dbus/dbus-connection-internal.h index 0606d1bd..64c4cf39 100644 --- a/dbus/dbus-connection-internal.h +++ b/dbus/dbus-connection-internal.h @@ -38,6 +38,9 @@ typedef enum DBUS_ITERATION_BLOCK = 1 << 2 /**< Block if nothing to do. */ } DBusIterationFlags; +void _dbus_connection_lock (DBusConnection *connection); +void _dbus_connection_unlock (DBusConnection *connection); + void _dbus_connection_ref_unlocked (DBusConnection *connection); dbus_bool_t _dbus_connection_queue_received_message (DBusConnection *connection, |