dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::spinlock Class Reference

WDK spinlock. More...

#include <dxd_sync_platform.h>

Inheritance diagram for dxd::spinlock:

Public Member Functions

 operator const ::KSPIN_LOCK & () const
 operator const ::KSPIN_LOCK * () const
 operator::KSPIN_LOCK & ()
 operator::KSPIN_LOCK * ()
 spinlock ()
virtual ~spinlock ()=default
 virtual destructur

Public Attributes

os_result status {ok}

Protected Member Functions

void __lock ()
void __unlock ()

Friends

class lock< spinlock >

Detailed Description

WDK spinlock.

Constructor & Destructor Documentation

◆ spinlock()

dxd::spinlock::spinlock ( )
inline

standard constructor

◆ ~spinlock()

virtual dxd::spinlock::~spinlock ( )
default

virtual destructur

spinlock base class needs virtual destructor; although its a dummy; to ensure inheritend and composite objects to be correctly destructed.

Member Function Documentation

◆ __lock()

void dxd::spinlock::__lock ( )
inlineprotected

◆ __unlock()

void dxd::spinlock::__unlock ( )
inlineprotected

◆ operator const ::KSPIN_LOCK &()

dxd::spinlock::operator const ::KSPIN_LOCK & ( ) const
inline

◆ operator const ::KSPIN_LOCK *()

dxd::spinlock::operator const ::KSPIN_LOCK * ( ) const
inline

◆ operator::KSPIN_LOCK &()

dxd::spinlock::operator::KSPIN_LOCK & ( )
inline

◆ operator::KSPIN_LOCK *()

dxd::spinlock::operator::KSPIN_LOCK * ( )
inline

◆ lock< spinlock >

friend class lock< spinlock >
friend

Member Data Documentation

◆ status

os_result dxd::spinlock::status {ok}

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

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.