MCPcopy Create free account
hub / github.com/OpenGene/fastp / ReadPool

Method ReadPool

src/readpool.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "common.h"
6
7ReadPool::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
18ReadPool::~ReadPool() {
19 cleanup();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected