File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
include/cpputils2/linux/priomutex Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 77namespace CppUtils2
88{
99
10- class priomutex
10+ class PrioMutex
1111 {
1212
1313 public:
1414 using native_handle_type = pthread_mutex_t *;
1515
16- priomutex ()
16+ PrioMutex ()
1717 {
1818 initialized = false ;
1919 pthread_mutexattr_t attr;
@@ -39,13 +39,13 @@ namespace CppUtils2
3939 initialized = true ;
4040 }
4141
42- virtual ~priomutex ()
42+ virtual ~PrioMutex ()
4343 {
4444 pthread_mutex_destroy (&pt_mutex);
4545 }
4646
47- priomutex (const priomutex &) = delete ;
48- priomutex &operator =(const priomutex &) = delete ;
47+ PrioMutex (const PrioMutex &) = delete ;
48+ PrioMutex &operator =(const PrioMutex &) = delete ;
4949
5050 void lock ()
5151 {
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ namespace
171171
172172 TEST (PriorityMutex, PriorityMutex)
173173 {
174- CppUtils2::priomutex mutex;
174+ CppUtils2::PrioMutex mutex;
175175 bool is_initialized = mutex.is_initialized ();
176176 EXPECT_TRUE (is_initialized);
177177 mutex.lock ();
You can’t perform that action at this time.
0 commit comments