-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-46378: AtomicNonNegativeCounter [2/2]: Make NonNegativeCounter non…
…-atomic Change NonNegativeCounter to no longer be atomic, instead just use the value_type for state and remove any atomic operations. This will be faster for use-cases which do not need the extra guarantees (and cost) of atomic operations; if atomic functionality is needed then AtomicNonNegativeCounter should be used instead. Change-Id: If78fd2b25909e0783f3a760c07955de0f3970411 Reviewed-on: https://review.couchbase.org/c/platform/+/167310 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters