PIPeer important fix!
git-svn-id: svn://db.shs.com.ru/pip@113 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
pthread_mutex_t
|
||||
#endif
|
||||
mutex;
|
||||
bool locked;
|
||||
volatile bool locked;
|
||||
|
||||
};
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
~PIMutexLocker() {if (cond) mutex->unlock();}
|
||||
private:
|
||||
PIMutex * mutex;
|
||||
bool cond;
|
||||
volatile bool cond;
|
||||
};
|
||||
|
||||
#endif // PIMUTEX_H
|
||||
|
||||
Reference in New Issue
Block a user