[Mono-list] g_thread_init ( )

Varga Zoltan vargaz@freemail.hu
Mon, 20 Oct 2003 16:08:54 +0200 (CEST)


   Some glib functions are not thread safe unless
g_thread_init () is
called. See=20


Piyush  Garyali <piyush_garyali@rediffmail.com> =EDrta:

> Hello,
> As the io-layer implementation of CreateThread (which uses
pthread_xxx inside) is used on Linux, I fail to understand
the use of the function g_thread_init() in both
mini[mini.c:mini_init()] as well as
interperter[interp.c:main()] when no thread functionality is
used from Glib.
> Is there something I am missing in here?
> -garyali