chore: import fiber related primitives under dfly namespace (#1012)

This change removes most mentions of boost::fibers or util::fibers_ext.
Instead it introduces "core/fibers.h" file that incorporates most of
the primitives under dfly namespace. This is done in preparation to
switching from Boost.Fibers to helio native fibers.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2023-03-30 13:26:59 +03:00 committed by GitHub
parent 1aab8a6934
commit c271e13176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 160 additions and 139 deletions

View file

@ -1851,7 +1851,7 @@ error_code RdbLoader::Load(io::Source* src) {
}
void RdbLoader::FinishLoad(absl::Time start_time, size_t* keys_loaded) {
fibers_ext::BlockingCounter bc(shard_set->size());
BlockingCounter bc(shard_set->size());
for (unsigned i = 0; i < shard_set->size(); ++i) {
// Flush the remaining items.
FlushShardAsync(i);