]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: Implements simple_spin_t in terms of std::atomic_flag
authorJesse Williamson <jwilliamson@suse.de>
Thu, 6 Apr 2017 11:59:37 +0000 (04:59 -0700)
committerJesse Williamson <jwilliamson@suse.de>
Fri, 7 Apr 2017 07:47:12 +0000 (00:47 -0700)
commit44aae1ec25b3ccfd08e27374a48c4426e5564a11
treed7efcccf041fb19d266ddfb7ebe4e25118fe44c6
parent3c89ca8fb68514e304458f7dcdebed3db7ee8bda
common: Implements simple_spin_t in terms of std::atomic_flag

Removes the requirement of machine-specific code in favor of the standard
library. See also PR #14337.

Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
src/CMakeLists.txt
src/common/buffer.cc
src/common/simple_spin.cc [deleted file]
src/common/simple_spin.h
src/test/simple_spin.cc