mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
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)
This commit is contained in:
parent
12f567e83a
commit
3fd2366a03
@ -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 ===
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user