Re: When to call g_thread_init(), again...

Also, is there any specific reason *not* to call g_thread_init() in glib's init routine by default anyway? Any penalties?

2008/8/15 Patrick Hallinan <patrick j hallinan gmail com>
On Fri, 2008-08-15 at 10:58 +0300, Tor Lillqvist wrote:
> The documentation for g_thread_init() says (in the stable branch):
>   "You must call g_thread_init() before executing any other GLib
>    functions in a threaded GLib program."

Is there a good reason to not compile separate threaded and unthreaded
libraries and do away with g_thread_init() altogether?

gtk-devel-list mailing list
gtk-devel-list gnome org

Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]

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