HomePhabricator

Add tests to SingleThreadedSchedulerClient() and document the memory model

Description

Add tests to SingleThreadedSchedulerClient() and document the memory model

Summary:
This is a backport of Core PR13247

Add Unit Test for SingleThreadedSchedulerClient

Ensures ordering of callbacks within a SingleThreadedSchedulerClient
with respect to each other

Update documentation for SingleThreadedSchedulerClient() to specify the memory model

Update ValidationInterface() documentation to explicitly specify threading and memory model

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D3169

Details

Provenance
Jesse Cohen <jc@jc.lol>Authored on Apr 17 2018, 21:05
deadalnixCommitted on Jun 1 2019, 13:56
deadalnixPushed on Jun 1 2019, 13:56
Reviewer
Restricted Project
Differential Revision
D3169: Add tests to SingleThreadedSchedulerClient() and document the memory model
Parents
rABC7aa201bef607: Various improvements to the scheduler
Branches
Unknown
Tags
Unknown