libdbus Missing Async Calls

Thiago Macieira thiago at kde.org
Sun Jan 14 17:30:19 UTC 2018


On Saturday, 13 January 2018 12:59:06 PST Lawrence D'Oliveiro wrote:
> On Sat, 13 Jan 2018 08:53:03 -0800, Thiago Macieira wrote:
> > 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?

I'm saying you're free not to use threads, so long as you and your users NEVER 
use threads. If you design your API like that, you're going to lock yourself 
into that forever.

I recommend instead using threads.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the dbus mailing list