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(0x7ff379d20e88), locks_excluded(0x7ff37e4a16e8), locks_excluded(0x7ff378ed0c78), locks_excluded(0x7ff392c77628), locks_excluded(0x7ff38e14a478), locks_excluded(0x7ff38a903908), locks_excluded(0x7ff377404af8), locks_excluded(0x7ff36e7bf988), locks_excluded(0x7ff3922fbcb8), locks_excluded(0x7ff38a2e5418)]]
void
SyncWithValidationInterfaceQueue();