Permalink
Please sign in to comment.
Browse files
Support more than one CScheduler thread for serial clients
This will be used by CValidationInterface soon. This requires a bit of work as we need to ensure that most of our callbacks happen in-order (to avoid synchronization issues in wallet) - we keep our own internal queue and push things onto it, scheduling a queue-draining function immediately upon new callbacks.
- Loading branch information...
Showing
with
90 additions
and 10 deletions.
- +52 −0 src/scheduler.cpp
- +24 −0 src/scheduler.h
- +14 −8 src/validationinterface.cpp
- +0 −2 src/validationinterface.h
0 comments on commit
08096bb