Changeset View
Changeset View
Standalone View
Standalone View
src/sync.cpp
Show All 39 Lines | CLockLocation(const char *pszName, const char *pszFile, int nLine, | ||||
fTry = fTryIn; | fTry = fTryIn; | ||||
} | } | ||||
std::string ToString() const { | std::string ToString() const { | ||||
return mutexName + " " + sourceFile + ":" + itostr(sourceLine) + | return mutexName + " " + sourceFile + ":" + itostr(sourceLine) + | ||||
(fTry ? " (TRY)" : ""); | (fTry ? " (TRY)" : ""); | ||||
} | } | ||||
std::string MutexName() const { return mutexName; } | |||||
bool fTry; | bool fTry; | ||||
private: | private: | ||||
std::string mutexName; | std::string mutexName; | ||||
std::string sourceFile; | std::string sourceFile; | ||||
int sourceLine; | int sourceLine; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |