Re: Stupid question regarding g_thread_init() and gtk_threads_init()



if i understand well from the syntax g_thread_init() must be part of glib while gtk_threads_init() is part of gtk+ which are two completely different libraries (although gtk uses glib) one for robustness and portability and the other for designing graphical interfaces. so each one must have its own definitions of the functions as they cannot depend on each other.

yiannis
If on a crossroad there are two paths, which one is the middle one?



NavEcos wrote:

Why are there two functions for this?  Why doesn't g_thread_init() call
gtk_threads_init()?

Has this ALWAYS been the case the g_thread_init() has to be followed by
gtk_threads_init() because if so, I have a very long standing bug, that's
been in my code for years.

-Rich

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



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