Changing threading semantics from init early to init before second thread

Ralf Habacker ralf.habacker at freenet.de
Tue Aug 22 00:09:19 PDT 2006


Tor Lillqvist schrieb:
> Havoc Pennington writes:
>  > it's a fair amount of code, but most of it is doing stuff dbus doesn't 
>  > care about.
>
> But on the other hand it's (to the best of my knowledge) robust,
> tested, existing code.
>
> OK, if the threading needs of dbus are *really* trivial (just starting
> a thread?), maybe it's overkill, and just using the Microsoft C
> library's _beginthreadex() is enough.
>
>   
I don't know if you remember your implementation of dbus-spawn-win.c. It
uses only _beginthreadex(), so on windows it looks like to be trivial.

Ralf



More information about the dbus mailing list