GS.h: use std::atomic

This commit is contained in:
Gregory Hainaut 2016-02-22 22:02:24 +01:00
parent 5a84a0d8d2
commit 8555a87380
1 changed files with 2 additions and 2 deletions

View File

@ -291,8 +291,8 @@ public:
// has more than one command in it when the thread is kicked.
int m_CopyDataTally;
Semaphore m_sem_OpenDone;
volatile bool m_PluginOpened;
Semaphore m_sem_OpenDone;
std::atomic<bool> m_PluginOpened;
// These vars maintain instance data for sending Data Packets.
// Only one data packet can be constructed and uploaded at a time.