diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 4d18a805d49ee01901517c13720bb4a9597351f4 (patch) | |
tree | 968dd8fe10ec06ce826f625a080dd48bddf0708b /src/JackDriver.hpp | |
parent | f80e8274555f0da157e0b8c1fcae975d66178ab7 (diff) | |
download | patchage-4d18a805d49ee01901517c13720bb4a9597351f4.tar.gz patchage-4d18a805d49ee01901517c13720bb4a9597351f4.tar.bz2 patchage-4d18a805d49ee01901517c13720bb4a9597351f4.zip |
Use std::mutex
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r-- | src/JackDriver.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <http://drobilla.net> + * Copyright 2007-2020 David Robillard <d@drobilla.net> * * 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 <glibmm/thread.h> #include <jack/jack.h> +#include <mutex> #include <string> class Patchage; @@ -96,7 +97,7 @@ private: Queue<PatchageEvent> _events; - Glib::Mutex _shutdown_mutex; + std::mutex _shutdown_mutex; jack_position_t _last_pos; jack_nframes_t _buffer_size; |