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
|