Ardour  9.0-pre0-582-g084a23a80d
RCUTest Class Reference

#include <rcu_test.h>

Inheritance diagram for RCUTest:
[legend]

Classes

class  Value
 

Public Member Functions

 RCUTest ()
 
void setUp ()
 
void race ()
 
void read_thread ()
 
void write_thread ()
 

Private Types

typedef std::map< std::string, std::shared_ptr< Value > > Values
 

Private Member Functions

 CPPUNIT_TEST_SUITE (RCUTest)
 
 CPPUNIT_TEST (race)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

SerializedRCUManager< Values_values
 
pthread_barrier_t _barrier
 

Detailed Description

Definition at line 8 of file rcu_test.h.

Member Typedef Documentation

◆ Values

typedef std::map<std::string, std::shared_ptr<Value> > RCUTest::Values
private

Definition at line 31 of file rcu_test.h.

Constructor & Destructor Documentation

◆ RCUTest()

RCUTest::RCUTest ( )

Member Function Documentation

◆ CPPUNIT_TEST()

RCUTest::CPPUNIT_TEST ( race  )
private

◆ CPPUNIT_TEST_SUITE()

RCUTest::CPPUNIT_TEST_SUITE ( RCUTest  )
private

◆ CPPUNIT_TEST_SUITE_END()

RCUTest::CPPUNIT_TEST_SUITE_END ( )
private

◆ race()

void RCUTest::race ( )

◆ read_thread()

void RCUTest::read_thread ( )

◆ setUp()

void RCUTest::setUp ( )

◆ write_thread()

void RCUTest::write_thread ( )

Member Data Documentation

◆ _barrier

pthread_barrier_t RCUTest::_barrier
private

Definition at line 40 of file rcu_test.h.

◆ _values

SerializedRCUManager<Values> RCUTest::_values
private

Definition at line 33 of file rcu_test.h.


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