PIPeer important fix!

git-svn-id: svn://db.shs.com.ru/pip@110 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-04-19 19:01:46 +00:00
parent 929338a4d7
commit 476958706f
12 changed files with 147 additions and 18 deletions

View File

@@ -49,6 +49,9 @@ public:
//! If mutex is already locked function returns immediate an returns "false"
bool tryLock();
//! Returns if mutex is locked
bool isLocked() const;
private:
#ifdef WINDOWS
void *
@@ -56,6 +59,7 @@ private:
pthread_mutex_t
#endif
mutex;
bool locked;
};