[Mono-list] g_thread_init ( )

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


                                                  Hi,

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

http://bugzilla.ximian.com/show_bug.cgi?id=3D47682

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

> Hello,
>=20
> 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.
>=20
> Is there something I am missing in here?
>=20
> -garyali