From 4d18a805d49ee01901517c13720bb4a9597351f4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:45 +0100 Subject: Use std::mutex --- src/AlsaDriver.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/AlsaDriver.hpp') diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 94dd101..45eb3db 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -83,7 +84,7 @@ private: snd_seq_t* _seq; pthread_t _refresh_thread; - Glib::Mutex _events_mutex; + std::mutex _events_mutex; std::queue _events; struct SeqAddrComparator -- cgit v1.2.1