Changing threading semantics from init early to init before
second thread
Havoc Pennington
hp at redhat.com
Mon Aug 21 11:55:02 PDT 2006
Rob Taylor wrote:
> 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?
>
Well, I'm assuming that implementing the dbus thread funcs would be
maybe a couple hundred lines of Windows-specific code. If it's that
tiny, is it worth making people download some extra library?
glib's gthread-win32.c is 600 lines long including comments, and it has
stuff that dbus doesn't need (thread local storage, thread creation).
If you look at the code at
http://sources.redhat.com/cgi-bin/cvsweb.cgi/pthreads/?cvsroot=pthreads-win32
it's a fair amount of code, but most of it is doing stuff dbus doesn't
care about.
Havoc
More information about the dbus
mailing list