mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
some wording fixups.
Fri Mar 24 15:22:04 2006 Tim Janik <timj@imendio.com> * glib/tmpl/atomic_operations.sgml: some wording fixups.
This commit is contained in:
parent
601289c545
commit
9e98598d04
@ -1,3 +1,7 @@
|
||||
Fri Mar 24 15:22:04 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* glib/tmpl/atomic_operations.sgml: some wording fixups.
|
||||
|
||||
2006-03-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
|
||||
|
@ -22,9 +22,11 @@ counting a very fast operation.
|
||||
<note>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user