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 };
|
uint32_t preloadSize { config::preloadSize };
|
||||||
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
||||||
// Signals
|
// Signals
|
||||||
bool quitThread { false };
|
volatile bool quitThread { false };
|
||||||
bool emptyQueue { false };
|
volatile bool emptyQueue { false };
|
||||||
std::atomic<int> threadsLoading { 0 };
|
std::atomic<int> threadsLoading { 0 };
|
||||||
RTSemaphore workerBarrier;
|
RTSemaphore workerBarrier;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue