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

Method input

src/readpool.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22bool ReadPool::input(int tid, Read* data) {
23 if(mIsFull)
24 return false;
25
26 mBufferLists[tid]->produce(data);
27 mProduced++;
28 if((mProduced & 0xFF) == 0)
29 updateFullStatus();
30 return true;
31}
32
33void ReadPool::cleanup() {
34 for(int t=0; t<mOptions->thread; t++) {

Callers 5

recycleToPool1Method · 0.45
recycleToPool2Method · 0.45
processPairEndMethod · 0.45
recycleToPoolMethod · 0.45
processSingleEndMethod · 0.45

Calls 1

produceMethod · 0.80

Tested by

no test coverage detected