clean up file open/close logic

This commit is contained in:
Mark Whitehorn
2016-05-14 11:27:07 +02:00
committed by Lorenz Meier
parent 672042e051
commit 728de5f87b
3 changed files with 30 additions and 28 deletions
+1
View File
@@ -63,6 +63,7 @@ private:
size_t _count = 0;
size_t _total_written = 0;
bool _should_run = false;
bool _running = false;
bool _exit_thread = false;
pthread_mutex_t _mtx;
pthread_cond_t _cv;