
MenTaLguY wrote:
On Mon, 2004-05-03 at 06:54, John Cliff wrote:
I fixed my build by dling the win32 pthreads from here http://sources.redhat.com/pthreads-win32/
dont know if the added dep is worth it for the windows build or not but it gets it building again :)
I think I'd rather not include the pthreads stuff for long if we can help it -- I'm worried it could conflict with glib's windows threads wrapper at some point.
-mental
I agree. There might be occasions where we need to tie threads to the GUI.
I re-did the threads section of that file with GLib's threads. Compiles nicely on win32 and linux. The code is much smaller, since GLib does most of the work. Someone might check if my little trick to mimic g_once() (which is not available until 2.4) makes sense. Should the nonstatic key existing/not existing be sufficient to see if the function has been called already, or should there be a test for existence/non-existence of a value for that key? Anyway, check it out, fix if necessary.
Sorry I didn't see this earlier. I have been gone for a couple of weeks.
Bob (ishmal)