Sending messages to ones self

Joe Shaw joeshaw at novell.com
Tue Jun 7 13:23:38 PDT 2005


Hi,

On Tue, 2005-06-07 at 15:24 -0400, John (J5) Palmieri wrote:
> This currently only works if you send an async message.  If you block in
> the same thread you are screwed and your program deadlocks.  How do we
> handle this?  Do we worry about it for 1.0 or try to detect that the
> message is being routed to ones self and throw an error?

I've seen similar problems where an app is acting as both a client and a
server with various threads encounters deadlocks.  I wonder if sending a
message to oneself is indicative of a larger locking bug?

Joe



More information about the dbus mailing list