mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
chore: remove core/fibers (#2723)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
094df3ef3f
commit
7e0536fd4c
41 changed files with 74 additions and 86 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue