Ardour  9.0-pre0-582-g084a23a80d
PBD::spinlock_t Struct Reference

#include <spinlock.h>

Public Member Functions

 spinlock_t ()
 
void lock ()
 
void unlock ()
 
bool try_lock ()
 

Private Member Functions

 spinlock_t (const spinlock_t &)
 

Private Attributes

boost::detail::spinlock l
 

Detailed Description

Definition at line 38 of file spinlock.h.

Constructor & Destructor Documentation

◆ spinlock_t() [1/2]

PBD::spinlock_t::spinlock_t ( )
inline

Definition at line 47 of file spinlock.h.

◆ spinlock_t() [2/2]

PBD::spinlock_t::spinlock_t ( const spinlock_t )
private

Member Function Documentation

◆ lock()

void PBD::spinlock_t::lock ( )
inline

Definition at line 53 of file spinlock.h.

◆ try_lock()

bool PBD::spinlock_t::try_lock ( )
inline

Definition at line 55 of file spinlock.h.

◆ unlock()

void PBD::spinlock_t::unlock ( )
inline

Definition at line 54 of file spinlock.h.

Member Data Documentation

◆ l

boost::detail::spinlock PBD::spinlock_t::l
private

Definition at line 61 of file spinlock.h.


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