linux compilation fix

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5093 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2012-02-10 21:18:47 +00:00
parent da7324dbf2
commit b75b61cb1d
1 changed files with 2 additions and 0 deletions

View File

@ -182,6 +182,8 @@ public:
void Lock() {pthread_mutex_lock(&m_mutex);} void Lock() {pthread_mutex_lock(&m_mutex);}
bool TryLock() {return pthread_mutex_trylock(&m_mutex) == 0;} bool TryLock() {return pthread_mutex_trylock(&m_mutex) == 0;}
void Unlock() {pthread_mutex_unlock(&m_mutex);} void Unlock() {pthread_mutex_unlock(&m_mutex);}
operator pthread_mutex_t* () {return &m_mutex;}
}; };
class GSEvent : public IGSEvent class GSEvent : public IGSEvent