Changing threading semantics from init early to init before second thread

Rob Taylor robtaylor at floopily.org
Mon Aug 21 11:12:12 PDT 2006


Havoc Pennington wrote:
> Robert McQueen wrote:
>> This seems very appealing to me - pthreads are supposed to be the
>> standard thread mechanism which everyone codes to. I even recall that
>> win32 has a pthreads implementation floating around somewhere. If it's
>> sufficient to allow D-Bus to do what it needs even when running in
>> threads which weren't created under this abstraction, it would be
>> possible for us to just require pthreads and leave it at that.
>>
> 
> It'd probably be better to abstract the windows native threads instead
> of requiring cygwin or something. It shouldn't be a lot of work.
> 

Well, not cygwin, more http://sources.redhat.com/pthreads-win32/

If the implementer doesn't have the time to learn windows threading, is
it really onerous to use the above?

Thanks,
Rob Taylor


More information about the dbus mailing list