On Fri, 19 Nov 2010, T. Alex Chen wrote:
> I want to do atomic operation and find there is already such implementation
> in
> Linux, e.g. atomic_add, atomic_set, atomic_cmpset, etc, after I google on the
http://stackoverflow.com/questions/1158374/portable-compare-and-swap-atomic-opera
On Fri, 19 Nov 2010, Boyd Stephen Smith Jr. wrote:
> linux-manual-2.6.26: /usr/share/man/man9/atomic_add.9.gz
> linux-manual-2.6.26: /usr/share/man/man9/atomic_add_negative.9.gz
> linux-manual-2.6.26: /usr/share/man/man9/atomic_add_return.9.gz
> linux-manual-2.6.26: /usr/share/man/man9/atomic_add_u
ication programs that make
'system calls'. So is it "only_for kernel"? No, and yes.
The idea of atomic operations is used at many several levels of
abstraction in computer software design. The way you have phrased your
question leads me to believe that you may not be aware of the full
such implementation
> in Linux, e.g. atomic_add, atomic_set, atomic_cmpset, etc, after I google on
> the Web. I find a libatomic-ops-dev
> package and install it. But there is still no man page after the
> installation. Did I install the right package? Where can I get the man page
&
I get the man page of these atomic operations?
b...@dellbuntu:~% apt-file search atomic_add
freebsd-manpages: /usr/share/man/man9/atomic_add.9freebsd.gz
libsilc-1.1-2-dev: /usr/share/doc/libsilc-1.1-2-dev/toolkit/silcatomic-
silc_atomic_add_int16.html
libsilc-1.1-2-dev: /usr/share/doc/libsilc-1.1-2-d
, atomic_cmpset, etc, after I google on the
Web. I find a libatomic-ops-dev package and install it. But there is still no
man page after the installation. Did I install the right package? Where can I
get the man page of these atomic operations?
Or maybe these operations are only for kernel and not
6 matches
Mail list logo