mirror of https://github.com/PCSX2/pcsx2.git
linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5093 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
da7324dbf2
commit
b75b61cb1d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue