chore: remove core/fibers (#2723)

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-03-14 14:02:33 +02:00 committed by GitHub
parent 094df3ef3f
commit 7e0536fd4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 74 additions and 86 deletions

View file

@ -164,7 +164,7 @@ class RoundRobinSharder {
static thread_local vector<ShardId> round_robin_shards_tl_cache_;
static vector<ShardId> round_robin_shards_ ABSL_GUARDED_BY(mutex_);
static ShardId next_shard_ ABSL_GUARDED_BY(mutex_);
static Mutex mutex_;
static fb2::Mutex mutex_;
};
bool HasContendedLocks(unsigned shard_id, Transaction* trx, const DbTable* table) {
@ -193,7 +193,7 @@ thread_local string RoundRobinSharder::round_robin_prefix_;
thread_local vector<ShardId> RoundRobinSharder::round_robin_shards_tl_cache_;
vector<ShardId> RoundRobinSharder::round_robin_shards_;
ShardId RoundRobinSharder::next_shard_;
Mutex RoundRobinSharder::mutex_;
fb2::Mutex RoundRobinSharder::mutex_;
} // namespace