Add stop method stub

This commit is contained in:
Vitaliy Filippov
2019-11-11 21:22:28 +03:00
parent 71552adf79
commit e807d7433e
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -311,6 +311,11 @@ public:
void handle_event(ring_data_t* data);
void loop();
// Returns true when it's safe to destroy the instance. If destroying the instance
// requires to purge some queues, starts that process. Should be called in the event
// loop until it returns true.
bool stop();
// Submission
int enqueue_op(blockstore_operation *op);
};