<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-text-plain" wrap="true" style="font-family:
      -moz-fixed; font-size: 14px;" lang="x-unicode">
      <pre wrap="">Sorry, mixed up e-mail addresses and postings! :(

Another attempt...

---rony

On 13.01.2018 21:59, Lawrence D'Oliveiro wrote:
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">On Sat, 13 Jan 2018 08:53:03 -0800, Thiago Macieira wrote:

</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre wrap="">On Friday, 12 January 2018 22:55:24 PST Lawrence D'Oliveiro wrote:

</pre>
          <blockquote type="cite" style="color: #000000;">
            <pre wrap="">On Fri, 12 Jan 2018 22:23:15 -0800, Thiago Macieira wrote:
</pre>
            <blockquote type="cite" style="color: #000000;">
              <pre wrap="">On Friday, 12 January 2018 00:17:09 PST Lawrence D'Oliveiro wrote:
</pre>
              <blockquote type="cite" style="color: #000000;">
                <pre wrap="">Well, one workaround is to do the blocking call on a separate
thread
<a class="moz-txt-link-rfc2396E" href="https://github.com/ldo/dbussy/commit/981395208b706d646b8b55873fcae8da09238fdd"><https://github.com/ldo/dbussy/commit/981395208b706d646b8b55873fcae8da09238fdd></a> ...
</pre>
              </blockquote>
              <pre wrap="">Which you're going to need if you're going to do multithreaded
programming anyway.
</pre>
            </blockquote>
            <pre wrap="">Which I am trying to avoid--that being the whole point of async
coroutines.  
</pre>
          </blockquote>
          <pre wrap="">Let me be clear: you CANNOT use threads with your design.  And by
"you", I mean both your code and the user's code that uses your API.
</pre>
        </blockquote>
        <pre wrap="">First you say I’m going to need threads, next you say I “CANNOT” use
threads.

So are you agreeing with me, or disagreeing?
</pre>
      </blockquote>
      <pre wrap="">the point that everyone makes is that you need to use the same thread for sending and receiving
messages that created the DBus connection. Therefore you need to make sure that the dispatching is
done in the same thread that established the DBus connection.

What options (coroutines, threads) you supply to the users of your library is totally up to yourself! <span class="moz-smiley-s1" title=":)"></span>

---rony

</pre>
    </div>
  </body>
</html>