From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Fri, 12 Nov 2010 09:57:25 +0100 Subject: [ltt-dev] [PATCH 0/2] Add uatomic_and and uatomic_or to uatomic library Message-ID: <1289552247-18130-1-git-send-email-pbonzini@redhat.com> 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