| 5 | #include "common.h" |
| 6 | |
| 7 | ReadPool::ReadPool(Options* opt){ |
| 8 | mOptions = opt; |
| 9 | initBufferLists(); |
| 10 | mLimit = PACK_SIZE * PACK_IN_MEM_LIMIT; |
| 11 | if(mOptions->interleavedInput) |
| 12 | mLimit *= 2; |
| 13 | mIsFull = false; |
| 14 | mProduced = 0; |
| 15 | mConsumed = 0; |
| 16 | } |
| 17 | |
| 18 | ReadPool::~ReadPool() { |
| 19 | cleanup(); |
nothing calls this directly
no outgoing calls
no test coverage detected