Skip to content

Commit

Permalink
chore: use helio MPSCIntrusiveQueue queue (#2573)
Browse files Browse the repository at this point in the history
  • Loading branch information
romange authored Feb 12, 2024
1 parent e66e670 commit 9802f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 95 deletions.
93 changes: 0 additions & 93 deletions src/core/mpsc_intrusive_queue.h

This file was deleted.

4 changes: 2 additions & 2 deletions src/server/rdb_load.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ extern "C" {
}

#include "base/io_buf.h"
#include "base/mpsc_intrusive_queue.h"
#include "base/pod_array.h"
#include "core/json_object.h"
#include "core/mpsc_intrusive_queue.h"
#include "io/io.h"
#include "redis/rdb.h"
#include "server/common.h"
Expand Down Expand Up @@ -263,7 +263,7 @@ class RdbLoader : protected RdbLoaderBase {
// Callback when receiving RDB_OPCODE_FULLSYNC_END
std::function<void()> full_sync_cut_cb;

detail::MPSCIntrusiveQueue<Item> item_queue_;
base::MPSCIntrusiveQueue<Item> item_queue_;
};

} // namespace dfly

0 comments on commit 9802f2c

Please sign in to comment.