Another batch of these.

I think I need to look into adding a feature soon.
Either that, or take a minor break.
This commit is contained in:
Jason Felds
2011-03-14 21:42:07 -04:00
parent 0979f233e5
commit d1272b001c
8 changed files with 42 additions and 33 deletions
+5 -1
View File
@@ -25,7 +25,7 @@ class MutexImpl
public:
RageMutex *m_Parent;
MutexImpl( RageMutex *pParent ) { m_Parent = pParent; }
MutexImpl( RageMutex *pParent ): m_Parent(pParent) {}
virtual ~MutexImpl() { }
/* Lock the mutex. If mutex timeouts are implemented, and the mutex times out,
@@ -40,6 +40,10 @@ public:
/* Unlock the mutex. This must only be called when the mutex is locked; implementations
* may fail with an assertion if the mutex is not locked. */
virtual void Unlock() = 0;
private:
MutexImpl(const MutexImpl& rhs);
MutexImpl& operator=(const MutexImpl& rhs);
};
class EventImpl