mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 04:05:11 +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>
|
2006-03-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
|
* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
|
||||||
|
@ -22,9 +22,11 @@ counting a very fast operation.
|
|||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
You must not directly read integers or pointers concurrently accessed
|
You must not directly read integers or pointers concurrently accessed
|
||||||
by other threads with with the following functions directly. Always use
|
by multiple threads, but use the atomic accessor functions instead.
|
||||||
g_atomic_int_get() and g_atomic_pointer_get() respectively. They are
|
That is, always use g_atomic_int_get() and g_atomic_pointer_get() for
|
||||||
acting as a memory barrier.
|
read outs.
|
||||||
|
They provide the neccessary synchonization mechanisms like memory
|
||||||
|
barriers to access memory locations concurrently.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user