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

Method writerTask

src/seprocessor.cpp:473–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void SingleEndProcessor::writerTask(WriterThread* config)
474{
475 while(true) {
476 if(config->isCompleted()){
477 // last check for possible threading related issue
478 config->output();
479 break;
480 }
481 config->output();
482 }
483
484 if(mOptions->verbose) {
485 string msg = config->getFilename() + " writer finished";
486 loginfo(msg);
487 }
488}

Callers

nothing calls this directly

Calls 4

loginfoFunction · 0.85
isCompletedMethod · 0.80
outputMethod · 0.80
getFilenameMethod · 0.80

Tested by

no test coverage detected