summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@imendio.com>2007-07-09 08:33:32 +0000
committerTim Janik <timj@src.gnome.org>2007-07-09 08:33:32 +0000
commit2be53450a9a7db0803b0e58f23c20563ac4eefd8 (patch)
tree0bbb5650acd9349849150792f1e3ea1888d20207
parent8f98233affcb8c3e1a3dbf4e11c45266d3a5be1e (diff)
downloadgtk+-2be53450a9a7db0803b0e58f23c20563ac4eefd8.tar.gz
applied docu clarification patch from Bjoern Lindqvist, #454700.
Mon Jul 9 10:32:39 2007 Tim Janik <timj@imendio.com> * gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern Lindqvist, #454700. svn path=/trunk/; revision=18406
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/gdk/tmpl/threads.sgml17
2 files changed, 14 insertions, 8 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 3d4396783a..46642aebe1 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 9 10:32:39 2007 Tim Janik <timj@imendio.com>
+
+ * gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern
+ Lindqvist, #454700.
+
2007-07-08 Johan Dahlin <jdahlin@async.com.br>
* gtk/tmpl/gtkbuilder.sgml: Mention last_modification_time
diff --git a/docs/reference/gdk/tmpl/threads.sgml b/docs/reference/gdk/tmpl/threads.sgml
index c3a4d47604..9f453cb605 100644
--- a/docs/reference/gdk/tmpl/threads.sgml
+++ b/docs/reference/gdk/tmpl/threads.sgml
@@ -251,11 +251,12 @@ int main (int argc, char *argv[])
<!-- ##### MACRO GDK_THREADS_ENTER ##### -->
<para>
-This macro marks the beginning of a critical section in which GDK and GTK+
-functions can be called. Only one thread at a time can be in such a
-critial section. The macro expands to a no-op if #G_THREADS_ENABLED
-has not been defined. Typically gdk_threads_enter() should be used
-instead of this macro.
+This macro marks the beginning of a critical section in which GDK and
+GTK+ functions can be called safely and without causing race
+conditions. Only one thread at a time can be in such a critial
+section. The macro expands to a no-op if #G_THREADS_ENABLED has not
+been defined. Typically gdk_threads_enter() should be used instead of
+this macro.
</para>
@@ -277,9 +278,9 @@ begun with #GDK_THREADS_ENTER.
<!-- ##### FUNCTION gdk_threads_enter ##### -->
<para>
-This macro marks the beginning of a critical section
-in which GDK and GTK+ functions can be called.
-Only one thread at a time can be in such a critial
+This macro marks the beginning of a critical section in which GDK and
+GTK+ functions can be called safely and without causing race
+conditions. Only one thread at a time can be in such a critial
section.
</para>