thread safety: connections and mainloops

Havoc Pennington hp at redhat.com
Wed Jul 27 00:15:36 EST 2005


On Mon, 2005-07-25 at 16:55 -0400, John (J5) Palmieri wrote:
> On Mon, 2005-07-25 at 16:23 -0400, Havoc Pennington wrote:
> 
> > 
> > Typically you'd use multiple threads _without_ a main loop... just use
> > blocking IO. That's the point of threads after all.
> 
> But we still want to give the option of using PendingCalls in a thread?
> Just checking because one of the TODO items is to vet PendingCall for
> threading issues.
> 

Yes, it's much easier to say "the whole API is threadsafe" than "it's
threadsafe as long as you don't do xyz"

Havoc




More information about the dbus mailing list