mail-archives/mono-list/2003-October/016514.html

78 строки
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] g_thread_init ( )
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:vargaz%40freemail.hu">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016513.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] g_thread_init ( )
</H1>
<B>Varga Zoltan
</B>
<A HREF="mailto:vargaz%40freemail.hu"
TITLE="[Mono-list] g_thread_init ( )">vargaz@freemail.hu
</A><BR>
<I>Mon, 20 Oct 2003 16:08:54 +0200 (CEST)</I>
<P><UL>
<LI> Previous message: <A HREF="016513.html">[Mono-list] g_thread_init ( )
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16514">[ date ]</a>
<a href="thread.html#16514">[ thread ]</a>
<a href="subject.html#16514">[ subject ]</a>
<a href="author.html#16514">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE> Hi,
Some glib functions are not thread safe unless
g_thread_init () is
called. See=20
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=3D47682">http://bugzilla.ximian.com/show_bug.cgi?id=3D47682</A>
Piyush Garyali &lt;<A HREF="mailto:piyush_garyali@rediffmail.com">piyush_garyali@rediffmail.com</A>&gt; =EDrta:
&gt;<i> Hello,
</I>&gt;<i>=20
</I>&gt;<i> As the io-layer implementation of CreateThread (which uses
</I>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.
&gt;<i>=20
</I>&gt;<i> Is there something I am missing in here?
</I>&gt;<i>=20
</I>&gt;<i> -garyali
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016513.html">[Mono-list] g_thread_init ( )
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16514">[ date ]</a>
<a href="thread.html#16514">[ thread ]</a>
<a href="subject.html#16514">[ subject ]</a>
<a href="author.html#16514">[ author ]</a>
</LI>
</UL>
</body></html>