[sheepdog] [PATCH v2 0/2] refine usage of urcu

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Nov 2 06:23:17 CET 2012


v2:
 - replace uatomic_{trylock,unlock} with uatomic_set_{true,false}

MORITA Kazutaka (2):
  introduce uatomic_bool
  sockfd_cache: guard fds_in_grow with atomic operations

 include/util.h            |   23 +++++++++++++++++++++++
 sheep/cluster/zookeeper.c |   12 +++++++-----
 sheep/object_cache.c      |   18 +++++-------------
 sheep/sockfd_cache.c      |   21 +++++++++------------
 sheepfs/volume.c          |    8 ++++----
 5 files changed, 48 insertions(+), 34 deletions(-)

-- 
1.7.2.5




More information about the sheepdog mailing list