aboutsummaryrefslogtreecommitdiff
path: root/src/scheduler.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-12-04 18:31:36 -0500
committerMatt Corallo <git@bluematt.me>2017-12-26 11:54:49 -0500
commit5a933cefcc5e0595a1ec46fc5ea287aa163ecd3f (patch)
tree63bcb653e77c838a7e511dcdd6eb1d49cd125c5c /src/scheduler.h
parenta99b76f26958829c2b9ca4ffa5b1d81912b8acc7 (diff)
Add an interface to get the queue depth out of CValidationInterface
Diffstat (limited to 'src/scheduler.h')
-rw-r--r--src/scheduler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scheduler.h b/src/scheduler.h
index b99f165343..39ecb849b9 100644
--- a/src/scheduler.h
+++ b/src/scheduler.h
@@ -108,6 +108,8 @@ public:
// Processes all remaining queue members on the calling thread, blocking until queue is empty
// Must be called after the CScheduler has no remaining processing threads!
void EmptyQueue();
+
+ size_t CallbacksPending();
};
#endif