LockTraits< LOCKTYPE > Struct Template Reference

#include <synchronized.h>

Detailed Description

template<typename LOCKTYPE>
struct maxon::LockTraits< LOCKTYPE >

Provides a generalized interface to lock operations. LockTraits can be specialized for any lock implementation to add support for synchronized().

Static Public Member Functions

static void AcquireReadLock (LOCKTYPE &lock)
 
static void ReleaseReadLock (LOCKTYPE &lock)
 
static void AcquireWriteLock (LOCKTYPE &lock)
 
static void ReleaseWriteLock (LOCKTYPE &lock)
 

Member Function Documentation

◆ AcquireReadLock()

static void AcquireReadLock ( LOCKTYPE &  lock)
static

◆ ReleaseReadLock()

static void ReleaseReadLock ( LOCKTYPE &  lock)
static

◆ AcquireWriteLock()

static void AcquireWriteLock ( LOCKTYPE &  lock)
static

◆ ReleaseWriteLock()

static void ReleaseWriteLock ( LOCKTYPE &  lock)
static