reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::PtrLock Class Reference

Much like class Lock above, but takes pointer argument to Lockable, which may be NULL. More...

#include <Lock.hxx>

Public Member Functions

 PtrLock (Mutex *)
 
virtual ~PtrLock ()
 

Detailed Description

Much like class Lock above, but takes pointer argument to Lockable, which may be NULL.

This allow for optional locking and avoids if/else statements in caller.

Definition at line 56 of file Lock.hxx.

Constructor & Destructor Documentation

◆ PtrLock()

PtrLock::PtrLock ( Mutex *  lockable)

Definition at line 34 of file Lock.cxx.

◆ ~PtrLock()

PtrLock::~PtrLock ( )
virtual

Definition at line 41 of file Lock.cxx.


The documentation for this class was generated from the following files: