mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 09:38:09 +02:00
_dbus_connection_lock|unlock(): more specific output in lock-related debug messages
To be able to distinguish the individual instances during logging, the category of the lock and the pointer to the DBusConnection are now also output.
This commit is contained in:
parent
6756e42760
commit
7e83dd0ec6
1 changed files with 2 additions and 2 deletions
|
|
@ -384,7 +384,7 @@ void
|
|||
_dbus_connection_lock (DBusConnection *connection)
|
||||
{
|
||||
#ifdef TRACE_LOCKS
|
||||
_dbus_verbose ("LOCK\n");
|
||||
_dbus_verbose ("LOCK connection:%p mutex:%p\n", connection, connection->mutex);
|
||||
#endif
|
||||
_dbus_rmutex_lock ((connection)->mutex);
|
||||
TOOK_LOCK_CHECK (connection);
|
||||
|
|
@ -402,7 +402,7 @@ _dbus_connection_unlock (DBusConnection *connection)
|
|||
DBusList *iter;
|
||||
|
||||
#ifdef TRACE_LOCKS
|
||||
_dbus_verbose ("UNLOCK\n");
|
||||
_dbus_verbose ("UNLOCK connection:%p mutex:%p\n", connection, connection->mutex);
|
||||
#endif
|
||||
|
||||
/* If we had messages that expired (fell off the incoming or outgoing
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue