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 2007066..d75ffe1 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 2be3fa5..9459933 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;