Remove volatile from Atomic parameter declarations

* This was leaky from windows' InterlockedIncrement etc declarations, and is not
  necessary.
This commit is contained in:
baldurk
2020-09-09 16:40:04 +01:00
parent 3f26f42541
commit 78f1f8f3d1
18 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ ExecuteResult AndroidRemoteServer::ExecuteAndInject(const char *a, const char *w
rdcstr intentArgs = c && c[0] ? c : "";
// we spin up a thread to Ping() every second, since starting a package can block for a long time.
volatile int32_t done = 0;
int32_t done = 0;
Threading::ThreadHandle pingThread = Threading::CreateThread([&done, this]() {
Threading::SetCurrentThreadName("Android Ping");