_dbus_get_oom_wait magic
Timo Hoenig
thoenig at suse.de
Wed Jul 27 03:44:27 EST 2005
Hi,
whenever I dare to run several turns of
* establish a connection
* send a message (signal or method call) to the bus
* close the connection
within short intervals, latter turns are really slow (roughly more than
500ms).
While debugging it turned out that the invocation of
dbus_connection_dispatch() in _dbus_loop_dispatch returns
DBUS_DISPATCH_NEED_MEMORY. Thus, _dbus_wait_for_memory and
_dbus_wait_for_memory get invoked which leads to the delay of 500ms.
Now, since my system does not run out of memory, I am wondering if there
is some bug in the dbus_connection_dispatch routine which I am not
able to understand to its full extend.
Thanks,
Timo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050726/8d76c4b4/attachment.pgp
More information about the dbus
mailing list