DSMutex |
public:
DSMutex (void);
Create a Mutex.
lock |
public:
void lock (void);
Lock the mutex. lock() will not return until it successfully obtains a lock, however long that takes. That means, once you've acquired a lock, remember to unlock it, otherwise everybody else will wait forever (deadlock) and we don't want that, do we?
unlock |
public:
void unlock (void);
Release a previously acquired lock. Do not unlock a lock you haven't locked, it hurts. Remember to do this to ensure that everybody else gets a turn. As soon as you unlock it, anybody waiting on a lock is allowed to proceed.
~TSMutex |
public:
~DSMutex (void);
Destroy a Mutex.
(Last Updated 9/24/2004)