From: Matthias Clasen Date: Thu, 12 Aug 2004 15:00:35 +0000 (+0000) Subject: Document the necessity to call g_thread_init() when using threads (even X-Git-Tag: GLIB_2_5_2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31e039c7390241b4a8255d460056829a9c1e8dee;p=platform%2Fupstream%2Fglib.git Document the necessity to call g_thread_init() when using threads (even 2004-08-12 Matthias Clasen * glib/tmpl/threads.sgml: Document the necessity to call g_thread_init() when using threads (even non-gthreads). (#149490, Vincent Untz) --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 38d8ec2..bcd21e1 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,10 @@ +2004-08-12 Matthias Clasen + + * glib/tmpl/threads.sgml: Document the necessity to call + g_thread_init() when using threads + (even non-gthreads). (#149490, Vincent Untz) + + Tue Aug 3 16:43:22 2004 Matthias Clasen * glib/glib-sections.txt: Add a section for GOption. diff --git a/docs/reference/glib/tmpl/threads.sgml b/docs/reference/glib/tmpl/threads.sgml index c1bc4f3..72104c4 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. -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 -g_thread_init(NULL). +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 g_thread_init (NULL).