Ardour  9.2-129-gdf5e1050bd
rwlock_test.h
Go to the documentation of this file.
1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
3 #include "pbd/rwlock.h"
4 
5 class RWLockTest : public CppUnit::TestFixture
6 {
11 
12 public:
15  void run_thread_test ();
16 
17 private:
18  void reader_thread ();
19  static void* launch_reader (void*);
20 
22 };
CPPUNIT_TEST(single_thread_test)
void run_thread_test()
void reader_thread()
PBD::RWLock _rwlock
Definition: rwlock_test.h:21
static void * launch_reader(void *)
void single_thread_test()
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST_SUITE(RWLockTest)
CPPUNIT_TEST(run_thread_test)