Add volatile qualifier at some places it should be
This commit is contained in:
parent
eda78c4604
commit
6d7b70e7c0
1 changed files with 2 additions and 2 deletions
|
|
@ -258,8 +258,8 @@ private:
|
|||
uint32_t preloadSize { config::preloadSize };
|
||||
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
||||
// Signals
|
||||
bool quitThread { false };
|
||||
bool emptyQueue { false };
|
||||
volatile bool quitThread { false };
|
||||
volatile bool emptyQueue { false };
|
||||
std::atomic<int> threadsLoading { 0 };
|
||||
RTSemaphore workerBarrier;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue