MCPcopy Create free account
hub / github.com/OpenGene/fastplong / WriterThread

Method WriterThread

src/writerthread.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <unistd.h>
5
6WriterThread::WriterThread(Options* opt, string filename, bool isSTDOUT){
7 mOptions = opt;
8
9 mWriter1 = NULL;
10
11 mInputCompleted = false;
12 mFilename = filename;
13
14 initWriter(filename, isSTDOUT);
15 initBufferLists();
16 mWorkingBufferList = 0; // 0 ~ mOptions->thread-1
17 mBufferLength = 0;
18}
19
20WriterThread::~WriterThread() {
21 cleanup();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected