[ltt-dev] [PATCH 0/2] Add uatomic_and and uatomic_or to uatomic library

Paolo Bonzini pbonzini at redhat.com
Fri Nov 12 03:57:25 EST 2010


This short patch series provides atomic AND and OR operations that
return the previous value of the variable.  Can this go in even if
there are no users currently, to improve completeness of the
userspace atomic ops library?

Thanks,

Paolo

Paolo Bonzini (2):
  use generic-size operations for common implementation of atomic ops
  introduce uatomic_and and uatomic_or

 tests/test_uatomic.c   |    6 +
 urcu/uatomic_generic.h |  244 ++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 242 insertions(+), 8 deletions(-)

-- 
1.7.3.2





More information about the lttng-dev mailing list