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/JackDriver.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/JackDriver.hpp') diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp index 5649950..6a404a7 100644 --- a/src/JackDriver.hpp +++ b/src/JackDriver.hpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2014 David Robillard + * Copyright 2007-2020 David Robillard * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -23,6 +23,7 @@ #include #include +#include #include class Patchage; @@ -96,7 +97,7 @@ private: Queue _events; - Glib::Mutex _shutdown_mutex; + std::mutex _shutdown_mutex; jack_position_t _last_pos; jack_nframes_t _buffer_size; -- cgit v1.2.1