From 2be53450a9a7db0803b0e58f23c20563ac4eefd8 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Mon, 9 Jul 2007 08:33:32 +0000 Subject: [PATCH] applied docu clarification patch from Bjoern Lindqvist, #454700. Mon Jul 9 10:32:39 2007 Tim Janik * gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern Lindqvist, #454700. svn path=/trunk/; revision=18406 --- docs/reference/ChangeLog | 5 +++++ docs/reference/gdk/tmpl/threads.sgml | 17 +++++++++-------- 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 + + * gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern + Lindqvist, #454700. + 2007-07-08 Johan Dahlin * 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[]) -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. @@ -277,9 +278,9 @@ begun with #GDK_THREADS_ENTER. -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.