The obvious question is why are you using C?
Masochism ;) No, the story is like this: I'm working on an project that was written in C, using the Gtk toolset. I want to make it multithreaded and then port it to Windows (basically rewrite the gtk part with win32 code). I want to keep Glib, that's cross-platform anyway, but I don't like gtk on windows. So, I'm stuck with C, and I'd like to do the threading from there. If I were to switch to C++ I'd have to rewrite the whole thing.
Are you aware of the C++ binding of gtk: http://gtkmm.sourceforge.net?
Yes I know about those, I've used them before, but like I said above, the program is written in C and I want to keep it that way.
I've looked at the boost threads libraries, but I don't really see anything there that will let me call functions in other threads. Do you mean the mutex stuff? Because as I see it, mutexes will block one thread until the other one finishes, which is what I'm trying to avoid.
cheers,
roel
Regards Paul
Paul Grenyer Email: [EMAIL PROTECTED] Web: http://www.paulgrenyer.co.uk
Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/? Version 0.3.0 beta now available for download.
_______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
