They are supposed to be used cross-core.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
* an interface for registering ops in flight and dumping
* diagnostic information.
*/
-class Operation : public boost::intrusive_ref_counter<
- Operation, boost::thread_unsafe_counter> {
+class Operation : public boost::intrusive_ref_counter<Operation> {
public:
using id_t = uint64_t;
static constexpr id_t NULL_ID = std::numeric_limits<uint64_t>::max();
CompletionEvent
> tracking_events;
- class instance_handle_t : public boost::intrusive_ref_counter<
- instance_handle_t, boost::thread_unsafe_counter> {
+ class instance_handle_t : public boost::intrusive_ref_counter<instance_handle_t> {
public:
// intrusive_ptr because seastar::lw_shared_ptr includes a cpu debug check
// that we will fail since the core on which we allocate the request may not