diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-02 17:40:39 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-02 17:40:39 +0200 |
commit | 51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f (patch) | |
tree | c610caff1c7dc81284863cfcb1f8fc015be3287f /source | |
parent | ProtoProxy: Initial import of the protocol proxy project. (diff) | |
download | cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar.gz cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar.bz2 cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar.lz cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar.xz cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.tar.zst cuberite-51b3d28cee12d84bfeeb0e19bbd4e4e48185ba5f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cCriticalSection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cCriticalSection.cpp b/source/cCriticalSection.cpp index 3da12ebf4..47e2c2c2d 100644 --- a/source/cCriticalSection.cpp +++ b/source/cCriticalSection.cpp @@ -84,6 +84,7 @@ void cCriticalSection::Unlock() +#ifdef _DEBUG bool cCriticalSection::IsLocked(void) { return m_IsLocked; @@ -97,6 +98,7 @@ bool cCriticalSection::IsLockedByCurrentThread(void) { return m_IsLocked && (m_OwningThreadID == cIsThread::GetCurrentID()); } +#endif // _DEBUG |