Skip to content

Commit

Permalink
MB-46729: Use atomic.h and syncobject.h from platform
Browse files Browse the repository at this point in the history
Delete the copy of atomic.h and syncobject.h and use the one
in platform

Change-Id: I20d42380f8145c06848c7f33434856d5566a3e0f
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/155089
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@couchbase.com>
  • Loading branch information
trondn committed Jun 8, 2021
1 parent 0f3c8fd commit 851b0e3
Show file tree
Hide file tree
Showing 30 changed files with 26 additions and 528 deletions.
2 changes: 1 addition & 1 deletion engines/ep/benchmarks/checkpoint_iterator_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* Benchmarks relating to the CheckpointIterator class.
*/

#include "atomic.h"
#include "checkpoint_iterator.h"
#include <platform/atomic.h>

#include <benchmark/benchmark.h>
#include <list>
Expand Down
2 changes: 1 addition & 1 deletion engines/ep/benchmarks/hash_table_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include "stored_value_factories.h"

#include <benchmark/benchmark.h>
#include <engines/ep/src/syncobject.h>
#include <folly/portability/GTest.h>
#include <platform/syncobject.h>
#include <spdlog/fmt/fmt.h>

// Benchmarks inserting items into a HashTable
Expand Down
2 changes: 1 addition & 1 deletion engines/ep/benchmarks/vb_ready_queue_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include "vb_ready_queue.h"

#include <benchmark/benchmark.h>
#include <engines/ep/src/syncobject.h>
#include <folly/Random.h>
#include <folly/portability/GTest.h>
#include <platform/syncobject.h>
#include <platform/sysinfo.h>
#include <vbucket.h>

Expand Down
Loading

0 comments on commit 851b0e3

Please sign in to comment.