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

Method writerTask

src/peprocessor.cpp:1075–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073}
1074
1075void PairEndProcessor::writerTask(WriterThread* config)
1076{
1077 while(true) {
1078 if(config->isCompleted()){
1079 // last check for possible threading related issue
1080 config->output();
1081 break;
1082 }
1083 config->output();
1084 }
1085
1086 if(mOptions->verbose) {
1087 string msg = config->getFilename() + " writer finished";
1088 loginfo(msg);
1089 }
1090}

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