185 |
// # (following code should only be executed by the disk thread) |
// # (following code should only be executed by the disk thread) |
186 |
|
|
187 |
|
|
188 |
DiskThread::DiskThread(uint BufferWrapElements) : Thread(false, 1, -2) { |
DiskThread::DiskThread(uint BufferWrapElements) : Thread(true, false, 1, -2) { |
189 |
DecompressionBuffer = ::gig::Sample::CreateDecompressionBuffer(MAX_REFILL_SIZE); |
DecompressionBuffer = ::gig::Sample::CreateDecompressionBuffer(MAX_REFILL_SIZE); |
190 |
CreationQueue = new RingBuffer<create_command_t>(1024); |
CreationQueue = new RingBuffer<create_command_t>(1024); |
191 |
DeletionQueue = new RingBuffer<delete_command_t>(1024); |
DeletionQueue = new RingBuffer<delete_command_t>(1024); |