SourceMod::IMutex Class Reference

Describes a simple locking mutex. More...

#include <public/IThreader.h>

List of all members.

Public Member Functions

virtual ~IMutex ()
virtual bool TryLock ()=0
 Attempts to lock, but returns instantly.
virtual void Lock ()=0
 Attempts to lock by waiting for release.
virtual void Unlock ()=0
 Unlocks the mutex.
virtual void DestroyThis ()=0
 Destroys the mutex handle.


Detailed Description

Describes a simple locking mutex.

Definition at line 244 of file IThreader.h.


Constructor & Destructor Documentation

virtual SourceMod::IMutex::~IMutex (  )  [inline, virtual]

Virtual Destructor

Definition at line 248 of file IThreader.h.


Member Function Documentation

virtual bool SourceMod::IMutex::TryLock (  )  [pure virtual]

Attempts to lock, but returns instantly.

Returns:
True if lock was obtained, false otherwise.


The documentation for this class was generated from the following file:
Generated on Thu Aug 28 22:10:29 2008 for SourceMod SDK by  doxygen 1.5.1