AudRecordLib
Public Member Functions | Public Attributes
SharedSRWLock Struct Reference

#include <scoped.h>

List of all members.

Public Member Functions

 SharedSRWLock (SRWLOCK *pLock)
 ~SharedSRWLock ()

Public Attributes

SRWLOCK * pLock

Detailed Description

RAII wrapper around acquiring and releasing shared access on a Slim Read-Writer lock


Constructor & Destructor Documentation

SharedSRWLock::SharedSRWLock ( SRWLOCK *  pLock) [inline]

Initialises the object and acquires shared access to the lock

The function will block until shared access can be achieved

Parameters:
pLockThe lock to take
SharedSRWLock::~SharedSRWLock ( ) [inline]

Releases the lock acquired in the constructor


Member Data Documentation

The lock to acquire and release


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Defines