<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="DejaVu Sans">How do I get a file descriptor? </font>dbus_connection_get_unix_fd?
The documentation seems to advise against doing this, but I
suppose that if it works it's good enough for a basic prototype
until I get to do things properly.<br>
</p>
<div class="moz-cite-prefix">On 6/18/20 6:18 PM, Thiago Macieira
wrote:<br>
</div>
<blockquote type="cite" cite="mid:8925565.NVJkAZ5rDM@tjmaciei-mobl1">
<pre class="moz-quote-pre" wrap="">On Wednesday, 17 June 2020 10:37:53 PDT Alexandru Sorodoc wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I will do that eventually, but for now I just want something as minimal
as possible. I will just set a timeout to the read_write_dispatch call
until I get to do things properly.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Or don't use read_write_dispatch. Poll the file descriptor yourself with a
poll() call that can be interrupted, then use dbus_connection_dispatch().
</pre>
</blockquote>
</body>
</html>