AnimatLab
2
Test
|
Internal locker. More...
#include <StdCriticalSectionInternal.h>
Public Member Functions | |
InternalLocker (std::atomic< int > &iBusy) | |
Constructor. More... | |
~InternalLocker () | |
Finaliser. More... | |
Protected Member Functions | |
InternalLocker () | |
Default constructor. More... | |
InternalLocker (const InternalLocker &src) | |
Copy constructor. More... | |
const InternalLocker & | operator= (const InternalLocker &src) |
Assignment operator. More... | |
Protected Attributes | |
std::atomic< int > & | m_iBusy |
Tells if this is busy. | |
Internal locker.
internal locking class.
Definition at line 78 of file StdCriticalSectionInternal.h.
|
protected |
Default constructor.
|
protected |
Copy constructor.
src | Source for the. |
|
explicit |
Constructor.
plBusy | The pl busy. |
For internal use by CStdCriticalSection This locks access to the internal variables of an instance of CStdCriticalSection from other threads
plBusy | The busy flag. |
Definition at line 63 of file StdCriticalSectionInternal.cpp.
References m_iBusy.
StdUtils::CStdCriticalSectionInternal::InternalLocker::~InternalLocker | ( | ) |
Finaliser.
Destructor.
For internal use by CStdCriticalSection This unlocks the lock the constructor of this class gained.
Definition at line 83 of file StdCriticalSectionInternal.cpp.
References StdUtils::CStdCriticalSectionInternal::m_iBusy.
|
protected |
Assignment operator.
src | Source for the. |