[#CheckLastCritical] = CheckLastCritical :mrdocs: Verify that the most recently entered critical section matches the given mutex. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void CheckLastCritical( void* cs, std::string& lockname, char const* guardname, char const* file, int line); ---- == Parameters [cols="1,4"] |=== | Name| Description | *cs* | Mutex expected to be the last one entered. | *lockname* | Receives the recorded name of that lock. | *guardname* | Name of the guard variable being constructed. | *file* | Source file of the caller. | *line* | Source line of the caller. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#