summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-08-12 14:59:09 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-12 14:59:09 +0000
commit3fd2366a039cf15340d60235d1394a99c6fcd6c2 (patch)
tree984946c648f0ef4d92d854da7b5e115b75e998c7 /docs
parent12f567e83ab023e7f8480f22de62c1007660543b (diff)
Document the necessity to call g_thread_init() when using threads (even
2004-08-12 Matthias Clasen <mclasen@redhat.com> * glib/tmpl/threads.sgml: Document the necessity to call g_thread_init() when using threads (even non-gthreads). (#149490, Vincent Untz)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog6
-rw-r--r--docs/reference/glib/tmpl/threads.sgml7
2 files changed, 9 insertions, 4 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 32fc7509a..879a1a9ec 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-12 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/tmpl/threads.sgml: Document the necessity to call
+ g_thread_init() when using threads
+ (even non-gthreads). (#149490, Vincent Untz)
+
2004-07-30 Matthias Clasen <mclasen@redhat.com>
* === Released 2.4.5 ===
diff --git a/docs/reference/glib/tmpl/threads.sgml b/docs/reference/glib/tmpl/threads.sgml
index c1bc4f3e5..72104c40f 100644
--- a/docs/reference/glib/tmpl/threads.sgml
+++ b/docs/reference/glib/tmpl/threads.sgml
@@ -142,10 +142,9 @@ This struct should only be used, if you know, what you are doing.
<!-- ##### FUNCTION g_thread_init ##### -->
<para>
-Before you use a thread related function in GLib, you should
-initialize the thread system. This is done by calling
-g_thread_init(). Most of the time you will only have to call
-<literal>g_thread_init(NULL)</literal>.
+If you use GLib from more than one thread, you must initialize
+the thread system by calling g_thread_init(). Most of the time you
+will only have to call <literal>g_thread_init (NULL)</literal>.
</para>
<note>