[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: dbus_connection_send_with_reply_and_block() timed out?
From: Havoc Pennington <hp () redhat ! com>
Date: 2007-06-25 14:02:53
Message-ID: 467FCB0D.7030204 () redhat ! com
[Download RAW message or body]
Hi,
Murray Cumming wrote:
> When calling dbus_connection_send_with_reply_and_block() with a timeout,
> is there any way to detect that a timeout occurred?
>
You will get an error reply. (In general you are guaranteed to get a
reply when using the with_reply() variants - either a real reply or an
error from the remote app or an error from the bus or a
locally-synthesized disconnect/timeout error.)
With plain dbus_connection_send() there is no locally-synthesized
anything, so no guaranteed reply.
I'm not sure whether you can distinguish the local timeout error from
one that comes from the bus, but I doubt it makes a difference (?)
Havoc
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic