Add queue stall tracking

This commit is contained in:
Vitaliy Filippov
2020-01-10 01:23:46 +03:00
parent 522a9db0e2
commit b3f2102f33
9 changed files with 30 additions and 0 deletions
+3
View File
@@ -82,6 +82,9 @@ public:
// (Although you're free to enqueue them before that)
bool is_started();
// Returns true when blockstore is stalled
bool is_stalled();
// 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.