Re: When to call g_thread_init(), again...
- From: "Tor Lillqvist" <tml iki fi>
- To: paul linuxaudiosystems com
- Cc: gtk-devel-list gnome org
- Subject: Re: When to call g_thread_init(), again...
- Date: Fri, 15 Aug 2008 16:05:01 +0300
> "If your program uses threads (or other libraries that use threads),
> then you must call g_thread_init() before calling any other GLib
> function"
It's not using threads that is the key point here. Calling
g_thread_init() is. That already changes some GLib functions to work
in different ways, incompatible with how they work before
g_thread_init() is called. Whether any threads then are created or not
is not relevant, not for this discussion at least;)
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]