On 08/12/2011 07:05 PM, Richard Henderson wrote:
On 08/11/2011 02:42 PM, Andrew MacLeod wrote:
The names for the previous set implies the fetch is done before the
operation, so the new ones simply drop the fetch and simply use the
operation name. I found sync_mem_op_fetch slightly less clear.
R
On 08/11/2011 02:42 PM, Andrew MacLeod wrote:
> The names for the previous set implies the fetch is done before the
> operation, so the new ones simply drop the fetch and simply use the
> operation name. I found sync_mem_op_fetch slightly less clear.
Really? I guess I'm pretty used to that, and i
On 08/11/2011 07:18 PM, Lawrence Crowl wrote:
On 8/11/11, Andrew MacLeod wrote:
The __sync_mem_fetch_{add,sub,and,xor,or} routines perform the operation
atomically, and return the value that was in memory before the operation
was performed. As I was working on switching the c++ wrappers to use
On 8/11/11, Andrew MacLeod wrote:
> The __sync_mem_fetch_{add,sub,and,xor,or} routines perform the operation
> atomically, and return the value that was in memory before the operation
> was performed. As I was working on switching the c++ wrappers to use
> these new routines, I discovered we also