[ltt-dev] [PATCH 2/2] introduce uatomic_and and uatomic_or

Mathieu Desnoyers compudj at krystal.dyndns.org
Fri Nov 12 07:30:18 EST 2010


* Paolo Bonzini (pbonzini at redhat.com) wrote:
> On 11/12/2010 01:24 PM, Paolo Bonzini wrote:
>> Should I rename uatomic_add to uatomic_xchg_add too (I prefer this name
>> to uatomic_return_add)?
>
> Uh, uatomic_add returns void actually.  Then returning void from  
> uatomic_{and,or} is indeed more consistent.

Ah! I knew we'd find the culprit!! ;-)

Thanks,

Mathieu


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list