Signals, some are dropped?
Havoc Pennington
hp at redhat.com
Thu Feb 1 14:08:14 PST 2007
Hi,
It should be fine. You may have some messages dropped if you send a lot
of them at once, due to a too-low limit of 32 messages per connection
with replies pending. I fixed this in CVS recently. However, if you do
not have >32 messages outstanding at once, I don't know of any reasons
messages would be dropped. If you are sending >32 messages in rapid
sequence, one workaround is to disable replies on signals with
dbus_message_set_no_reply(), which will avoid the 32-item limit.
If you can't figure it out, it is easier for someone to help debug if
you can create a complete compilable test case and instructions to
build/run it.
You might also running a verbose bus in a terminal:
"DBUS_VERBOSE=1 dbus-daemon --session --print-address"
Early in the verbose output, it will print the bus address. In another
terminal, "export DBUS_SESSION_BUS_ADDRESS=whateveritprinted" and then
run your tests against the verbose bus instead of the normal session bus.
The verbose output is pretty hard to interpret, but you might figure
something out from it or be able to post parts of it here.
Havoc
More information about the dbus
mailing list