From: Tim Janik Date: Fri, 24 Mar 2006 14:22:32 +0000 (+0000) Subject: some wording fixups. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=9e98598d04a18cea5c3f7c42cd53ac45686b6f12;p=dana%2Fcg-glib.git some wording fixups. Fri Mar 24 15:22:04 2006 Tim Janik * glib/tmpl/atomic_operations.sgml: some wording fixups. --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 0e59ccc4..0583fa41 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 24 15:22:04 2006 Tim Janik + + * glib/tmpl/atomic_operations.sgml: some wording fixups. + 2006-03-20 Matthias Clasen * glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated. diff --git a/docs/reference/glib/tmpl/atomic_operations.sgml b/docs/reference/glib/tmpl/atomic_operations.sgml index 231fc73e..ad3e04b6 100644 --- a/docs/reference/glib/tmpl/atomic_operations.sgml +++ b/docs/reference/glib/tmpl/atomic_operations.sgml @@ -22,9 +22,11 @@ counting a very fast operation. You must not directly read integers or pointers concurrently accessed -by other threads with with the following functions directly. Always use -g_atomic_int_get() and g_atomic_pointer_get() respectively. They are -acting as a memory barrier. +by multiple threads, but use the atomic accessor functions instead. +That is, always use g_atomic_int_get() and g_atomic_pointer_get() for +read outs. +They provide the neccessary synchonization mechanisms like memory +barriers to access memory locations concurrently.