Re: libdbus Missing Async Calls

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
On Sat, 13 Jan 2018 08:53:03 -0800, Thiago Macieira wrote:

> On Friday, 12 January 2018 22:55:24 PST Lawrence D'Oliveiro wrote:
>
>> On Fri, 12 Jan 2018 22:23:15 -0800, Thiago Macieira wrote:
>>>
>>> On Friday, 12 January 2018 00:17:09 PST Lawrence D'Oliveiro wrote:
>>>>
>>>> Well, one workaround is to do the blocking call on a separate
>>>> thread
>>>> <https://github.com/ldo/dbussy/commit/981395208b706d646b8b55873fcae8da09238fdd> ...
>>>
>>> Which you're going to need if you're going to do multithreaded
>>> programming anyway.
>> 
>> Which I am trying to avoid--that being the whole point of async
>> coroutines.  
> 
> 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.

First you say I’m going to need threads, next you say I “CANNOT” use
threads.

So are you agreeing with me, or disagreeing?
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.