[#EnterCritical] = EnterCritical :mrdocs: Register that a critical section is being entered, for lock‐order checking. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename MutexType> void EnterCritical( char const* pszName, char const* pszFile, int nLine, MutexType* cs, bool fTry = false); ---- == Parameters [cols="1,4"] |=== | Name| Description | *pszName* | Name of the mutex. | *pszFile* | Source file where the lock is taken. | *nLine* | Source line where the lock is taken. | *cs* | Mutex being entered. | *fTry* | Whether this is a non‐blocking try‐lock. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#