Re: Mixing Glib::Thread and pthread_*



Am Donnerstag, den 18.01.2007, 19:14 +0100 schrieb Daniel Elstner:
> Am Donnerstag, den 18.01.2007, 18:34 +0100 schrieb Andreas Volz:
> > 
> > Ok, is there a way to find out the Glib thread model at runtime and/or
> > compile time?
> 
> Well, unless you implement your own backend (Glib::thread_init() takes
> an optional vtable argument which allows this), you can probably assume
> it's using POSIX threads if that is available and more or less canonical
> on the target platform.

There's actually a more definite answer to this particular question:

http://developer.gnome.org/doc/API/2.0/glib/glib-Threads.html#G-THREADS-IMPL-POSIX:CAPS

--Daniel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]