Changing threading semantics from init early to init before second thread

Alexander Larsson alexl at
Fri Sep 1 06:36:09 PDT 2006

On Fri, 2006-08-25 at 15:15 +0200, Alexander Larsson wrote:
> On Thu, 2006-08-24 at 14:47 -0400, Havoc Pennington wrote:
> > Not suggesting that at all - dbus_threads_disable() would have to be 
> > called before you used any thread functions, and would then make those 
> > functions no-op instead of implicitly initializing the built-in thread 
> > abstraction. So e.g. dbus-daemon would call this at the start of main().
> Here is an implementation of this. I didn't actually build the win32
> side this time, but it didn't really change, so i expect it to work.

Is there any interest in this kind of change? Seems to not get a lot of

 Alexander Larsson                                            Red Hat, Inc 
                   alexl at    alla at 
He's an old-fashioned sweet-toothed photographer with acid for blood. She's a 
warm-hearted snooty former first lady living on borrowed time. They fight 

More information about the dbus mailing list