Proud::CWriterLock_NORECURSE Class Reference

Public Member Functions

 CWriterLock_NORECURSE (CReaderWriterMonitor_NORECURSE &cs, bool initialLock)
 
 ~CWriterLock_NORECURSE ()
 
void Lock ()
 
void Unlock ()
 

Constructor & Destructor Documentation

Proud::CWriterLock_NORECURSE::CWriterLock_NORECURSE ( CReaderWriterMonitor_NORECURSE cs,
bool  initialLock 
)
inline

Writer lock object can be directly locked at constructor.

Parameters
to_be_appliedWriter lock object
initialLockif true then constructor locks directly
Proud::CWriterLock_NORECURSE::~CWriterLock_NORECURSE ( )
inline

Destructor

  • If there is CriticalSection that is occupied by this object already then disoccupation will be performed automatically.

Member Function Documentation

void Proud::CWriterLock_NORECURSE::Lock ( )
inline

Occupies writer lock

void Proud::CWriterLock_NORECURSE::Unlock ( )
inline

Withdraws writer lock