Re: When to call g_thread_init(), again...
- From: "Milosz Derezynski" <internalerror gmail com>
- To: "Patrick Hallinan" <patrick j hallinan gmail com>
- Cc: Tor Lillqvist <tml iki fi>, GTK Devel List <gtk-devel-list gnome org>
- Subject: Re: When to call g_thread_init(), again...
- Date: Fri, 15 Aug 2008 19:09:50 +0200
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?
--
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]