]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: use atomic uin64_t for counter
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 27 Jul 2017 19:03:15 +0000 (12:03 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Sep 2017 03:22:05 +0000 (20:22 -0700)
commit8c82de6a32bcbc8df0f6dadb7aacd7c41bcf77d8
tree837edc4de57877deddbe8061f4d82065dd87139f
parentba746cd14ddd70a4f24a734f83ff9d276dd327d1
common: use atomic uin64_t for counter

Making this interface thread-safe...

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 59b5931a2f47f90fced779fb89e06868c739c688)
src/include/counter.h