Add paragraph about multi-threading policy.
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 29 Jul 2003 22:37:37 +0000 (22:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 29 Jul 2003 22:37:37 +0000 (22:37 +0000)
* glib/glib-docs.sgml: Add paragraph about multi-threading policy.

docs/reference/ChangeLog
docs/reference/glib/glib-docs.sgml

index 20070663759fa0f33a3fe0838ed776465cb7c6ee..d75ffe176866d9967cf76265859b7b3537ce146c 100644 (file)
@@ -1,5 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
+       * glib/glib-docs.sgml: Add paragraph about multi-threading policy.
+
        * glib/glib-sections.txt: Rename g_read_link to g_file_read_link.
 
 2003-07-29  Matthias Clasen  <maclas@gmx.de>
index 2be3fa5ca315d1d5e780c6d7bef8d10f9facf35d..9459933a1f6482cb3be0425f8f71a63d34d2657e 100644 (file)
@@ -80,6 +80,12 @@ loop abstraction, and so on. It works on many UNIX-like platforms, Windows,
 OS/2 and BeOS. GLib is released under the GNU Library General Public License 
 (GNU LGPL). 
     </para>
+    <para>
+The general policy of GLib is that all functions are invisibly threadsafe with the 
+exception of data structure manipulation functions, where, if you have two threads
+manipulating the <emphasis>same</emphasis> data structure, they must use a lock to
+synchronize their operation.
+    </para>
 
     &glib-Building;
     &glib-Cross;