This is a synonym for the following, which asserts certain locks are not held: std::promise<void> promise; CallFunctionInValidationInterfaceQueue([&promise]{ promise.set_value(); }); promise.get_future().wait();
Declared in <validationinterface.h>
[[locks_excluded(0x7f2e21d16268), locks_excluded(0x7f2e35753328), locks_excluded(0x7f2e1afb2908), locks_excluded(0x7f2e1406e508), locks_excluded(0x7f2e26d539e8), locks_excluded(0x7f2e3564e3c8), locks_excluded(0x7f2e084890f8), locks_excluded(0x7f2e2867b748), locks_excluded(0x7f2e38a34a48), locks_excluded(0x7f2e3108e4f8)]]
void
SyncWithValidationInterfaceQueue();