Visualization Library 2.1.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
An interface to implement simple platform-independent mutexes used to protect critical sections. More...
#include <IMutex.hpp>
Public Member Functions | |
virtual void | lock ()=0 |
Locks the mutex. More... | |
virtual void | unlock ()=0 |
Unlocks the mutex. More... | |
virtual int | isLocked () const =0 |
Returns 1 if locked, 0 if non locked, -1 if unknown. More... | |
An interface to implement simple platform-independent mutexes used to protect critical sections.
/sa vl::Object::setRefCountMutex(), vl::Log::setLogMutex().
Definition at line 44 of file IMutex.hpp.
|
pure virtual |
Returns 1 if locked, 0 if non locked, -1 if unknown.
|
pure virtual |
Locks the mutex.
Referenced by vl::Object::decReference(), and vl::ScopedMutex::ScopedMutex().
|
pure virtual |
Unlocks the mutex.
Referenced by vl::Object::decReference(), and vl::ScopedMutex::~ScopedMutex().
Visualization Library 2.1.0 Reference Documentation
Updated on Wed Mar 10 2021 16:02:51.
© Copyright Michele Bosi. All rights reserved.