added some extra checks for buffer overrun in disk_io_thread

This commit is contained in:
Arvid Norberg
2007-08-02 01:42:19 +00:00
parent 77481c24a7
commit 192ce4b463
2 changed files with 9 additions and 0 deletions

View File

@@ -111,6 +111,10 @@ namespace libtorrent
// memory pool for read and write operations
boost::pool<> m_pool;
#ifndef NDEBUG
int m_block_size;
#endif
// thread for performing blocking disk io operations
boost::thread m_disk_io_thread;
};