The C++ framework for developing highly scalable, high performance servers on Windows platforms.

TReentrantLockableObject Class Template Reference
[Win32 Synchronization primitives]

Inheritance diagram for TReentrantLockableObject:
Collaboration diagram for TReentrantLockableObject:

List of all members.

template<typename Base>
class JetByteTools::Core::Std::TReentrantLockableObject< Base >


Public Types

typedef
TLockableObjectOwner
< TReentrantLockableObject
< Base > > 
Owner
typedef
TLockableObjectConditionalOwner
< TReentrantLockableObject
< Base > > 
ConditionalOwner
typedef
TReentrantLockableObjectPotentialOwner
< TReentrantLockableObject
< Base > > 
PotentialOwner

Public Member Functions

 TReentrantLockableObject ()
 Creates a lockable object.
 TReentrantLockableObject (const TReentrantLockableObject &rhs)
 ~TReentrantLockableObject ()
TReentrantLockableObjectoperator= (const TReentrantLockableObject &rhs)
bool TryLock ()
void Lock ()
void Unlock ()

Protected Attributes

std::recursive_mutex m_lock

Member Typedef Documentation


Constructor & Destructor Documentation

Creates a lockable object.


Member Function Documentation

TReentrantLockableObject& operator= ( const TReentrantLockableObject< Base > &  rhs  ) 

bool TryLock (  )  [inline]

void Lock (  )  [inline]

void Unlock (  )  [inline]


Member Data Documentation

std::recursive_mutex m_lock [protected]


Generated on Sun Sep 12 19:08:57 2021 for The Server Framework - v7.4 by doxygen 1.5.3