Re: Atomic operations

2010-11-20 Thread Henrique de Moraes Holschuh
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-operations-c-c-l

Re: Atomic operations

2010-11-20 Thread Henrique de Moraes Holschuh
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

Re: Atomic operations

2010-11-20 Thread Paul E Condon
On 20101119_175943, T. Alex Chen wrote: > I post the following message on debian-devel mailing list but someone says it > is > the wrong one so I post it here again. > Please bear with me if you have already seen it. > == > I want to do atomic operation and find there is already such impl

Re: Atomic operations

2010-11-20 Thread Alberto Luaces
"T. Alex Chen" writes: > I post the following message on debian-devel mailing list but someone says it > is the wrong one so I post it here again. > Please bear with me if you have already seen it. > == > I want to do atomic operation and find there is already such implementation > in Li

Re: Atomic operations

2010-11-19 Thread Boyd Stephen Smith Jr.
On Friday 19 November 2010 19:59:43 T. Alex Chen wrote: > I post the following message on debian-devel mailing list but someone says > it is the wrong one so I post it here again. Yes, debian-devel is for discussion around the developement of Debian, particularly updates to policy and release goa