Minor addition to ScopesContinue test
This commit is contained in:
parent
70e8c3104c
commit
8f5a644a2a
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ int main() {
|
||||||
}
|
}
|
||||||
cancel_thread.join();
|
cancel_thread.join();
|
||||||
assert(scopes_continue.count == -1);
|
assert(scopes_continue.count == -1);
|
||||||
|
auto lock = scopes_continue.shared_lock();
|
||||||
|
assert(!lock);
|
||||||
|
|
||||||
scopes_continue.count = 0;
|
scopes_continue.count = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue