1
0

ByteBuffer: Fixed optimization failures with threading checks.

This commit is contained in:
madmaxoft 2013-12-05 10:33:26 +01:00
parent fb2df44458
commit 321b259213

View File

@ -123,7 +123,7 @@ protected:
int m_BufferSize; // Total size of the ringbuffer
#ifdef _DEBUG
unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker
volatile unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker
#endif // _DEBUG
int m_DataStart; // Where the data starts in the ringbuffer