sync: unpublish LocksHeld() which is used only in sync.cpp

pull/27116/head
Vasil Dimov 2 years ago
parent 3df37e0c78
commit 91d0888921
No known key found for this signature in database
GPG Key ID: 54DF06F64B55CBBF

@ -246,7 +246,7 @@ void LeaveCritical()
pop_lock();
}
std::string LocksHeld()
static std::string LocksHeld()
{
LockData& lockdata = GetLockData();
std::lock_guard<std::mutex> lock(lockdata.dd_mutex);

@ -57,7 +57,6 @@ template <typename MutexType>
void EnterCritical(const char* pszName, const char* pszFile, int nLine, MutexType* cs, bool fTry = false);
void LeaveCritical();
void CheckLastCritical(void* cs, std::string& lockname, const char* guardname, const char* file, int line);
std::string LocksHeld();
template <typename MutexType>
void AssertLockHeldInternal(const char* pszName, const char* pszFile, int nLine, MutexType* cs) EXCLUSIVE_LOCKS_REQUIRED(cs);
template <typename MutexType>

Loading…
Cancel
Save