Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [PATCH 0/2] Add uatomic_and and uatomic_or to uatomic library
@ 2010-11-12  8:57 Paolo Bonzini
  2010-11-12  8:57 ` [ltt-dev] [PATCH 1/2] use generic-size operations for common implementation of atomic ops Paolo Bonzini
  2010-11-12  8:57 ` [ltt-dev] [PATCH 2/2] introduce uatomic_and and uatomic_or Paolo Bonzini
  0 siblings, 2 replies; 15+ messages in thread
From: Paolo Bonzini @ 2010-11-12  8:57 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-11-12 14:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12  8:57 [ltt-dev] [PATCH 0/2] Add uatomic_and and uatomic_or to uatomic library Paolo Bonzini
2010-11-12  8:57 ` [ltt-dev] [PATCH 1/2] use generic-size operations for common implementation of atomic ops Paolo Bonzini
2010-11-12 12:04   ` Mathieu Desnoyers
2010-11-12  8:57 ` [ltt-dev] [PATCH 2/2] introduce uatomic_and and uatomic_or Paolo Bonzini
2010-11-12 12:08   ` Mathieu Desnoyers
2010-11-12 12:13     ` Paolo Bonzini
2010-11-12 12:19       ` Mathieu Desnoyers
2010-11-12 12:24         ` Paolo Bonzini
2010-11-12 12:27           ` Paolo Bonzini
2010-11-12 12:30             ` Mathieu Desnoyers
2010-11-12 12:38               ` Mathieu Desnoyers
2010-11-12 14:39                 ` Paolo Bonzini
2010-11-12 12:29           ` Mathieu Desnoyers
2010-11-12 14:39             ` Paolo Bonzini
2010-11-12 12:15     ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox