1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"atomicCounter">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>atomicCounter
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>atomicCounter
</refname>
17 <refpurpose>return the current value of an atomic counter
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
22 <funcdef>uint
<function>atomicCounter
</function></funcdef>
23 <paramdef>atomic_uint
<parameter>c
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>c
</parameter></term>
33 Specify the handle to the atomic counter whose value to return.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>atomicCounter
</function> returns the current value of
42 of the atomic counter
<parameter>c
</parameter>.
45 <refsect1 id=
"versions"><title>Version Support
</title>
46 <informaltable frame=
"topbot">
51 <entry>atomicCounter
</entry>#newin42#
57 <refsect1 id=
"seealso"><title>See Also
</title>
59 <citerefentry><refentrytitle>atomicCounterIncrement
</refentrytitle></citerefentry>,
60 <citerefentry><refentrytitle>atomicCounterDecrement
</refentrytitle></citerefentry>
63 <refsect1 id=
"Copyright"><title>Copyright
</title>
65 Copyright
<trademark class=
"copyright"></trademark> 2011 Khronos Group.
66 This material may be distributed subject to the terms and conditions set forth in
67 the Open Publication License, v
1.0,
8 June
1999.
68 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.