[#ValidationSignals-CallFunctionInValidationInterfaceQueue] = xref:ValidationSignals.adoc[ValidationSignals]::CallFunctionInValidationInterfaceQueue :relfileprefix: ../ :mrdocs: Pushes a function to callback onto the notification queue, guaranteeing any callbacks generated prior to now are finished when the function is called. == Synopsis Declared in `<validationinterface.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void CallFunctionInValidationInterfaceQueue(std::function<void()> func); ---- == Description Be very careful blocking on func to be called if any locks are held ‐ validation interface clients may not be able to make progress as they often wait for things like cs_main, so blocking until func is called with cs_main will result in a deadlock (that DEBUG_LOCKORDER will miss). == Parameters [cols="1,4"] |=== | Name| Description | *func* | Function to run once earlier callbacks have completed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#