summaryrefslogtreecommitdiffstats
path: root/source/ByteBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ByteBuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/ByteBuffer.h b/source/ByteBuffer.h
index 2a73ed597..ccc1ddfa1 100644
--- a/source/ByteBuffer.h
+++ b/source/ByteBuffer.h
@@ -103,6 +103,11 @@ public:
protected:
char * m_Buffer;
int m_BufferSize; // Total size of the ringbuffer
+
+ #ifdef _DEBUG
+ 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
int m_WritePos; // Where the data ends in the ringbuffer
int m_ReadPos; // Where the next read will start in the ringbuffer