PIMutex typedef std::mutex, patch PIMutexLocker, replace volatile by atomic

This commit is contained in:
2020-07-17 11:32:04 +03:00
parent 6f5c864e9f
commit 1a3096c48b
9 changed files with 12 additions and 182 deletions

View File

@@ -246,7 +246,7 @@ protected:
//! Function executed once at the end of thread.
virtual void end() {;}
volatile bool terminating, running_, lockRun;
std::atomic_bool terminating, running_, lockRun;
int delay_, policy_;
llong tid_;
void * data_;