Store qStartStop state in atomic for background thread

Closes #4882.
This commit is contained in:
George Hilliard
2018-10-26 00:53:39 -05:00
parent 7d5fe6d1c8
commit 09275b5826
2 changed files with 9 additions and 8 deletions

View File

@@ -19,6 +19,8 @@
#ifndef _BATCHQUEUEPANEL_
#define _BATCHQUEUEPANEL_
#include <atomic>
#include <gtkmm.h>
#include "batchqueue.h"
#include "saveformatpanel.h"
@@ -53,6 +55,8 @@ class BatchQueuePanel : public Gtk::VBox,
IdleRegister idle_register;
std::atomic<bool> qStartStopState;
public:
explicit BatchQueuePanel (FileCatalog* aFileCatalog);
~BatchQueuePanel();