<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Trebuchet MS">(please excuse if this is the incorrect
mailing list)<br>
<br>
I'm developing a small utility for work that will take advantage of
dbus for some *very* simple inter-process communication.<br>
All I need to do is send a request for a list of items, and receive a
signal (intermittently).<br>
I seem to be having a concurrency issue since i'm calling
dbus_connection_read_write on a worker thread and calling
dbus_connection_send_with_reply on another and am getting errors at
various points in the code. <br>
<br>
Basically, what I've done (almost verbatim) is copy the sample code
from <a class="moz-txt-link-freetext"
 href="http://dbus.freedesktop.org/doc/dbus/dbus-example.c">http://dbus.freedesktop.org/doc/dbus/dbus-example.c</a>
and move the
signal handler into a worker thread.<br>
<br>
Does anyone have advice/tips on how to track down my issue? Also, I've
tried calling read_write_dispatch but it hasn't helped either.<br>
<br>
Thanks in advance,<br>
Dan<br>
</font>
<br>
</body>
</html>