diff options
author | David Robillard <d@drobilla.net> | 2013-01-11 03:35:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-11 03:35:17 +0000 |
commit | a90eec5c87af4dec9f8f45223cd228cb7ca674c6 (patch) | |
tree | 5363986923fc4ed2d025a975d0f890df9733269a /src/server/JackDriver.hpp | |
parent | 8caefa2c374ecf3af9ea455ce24784d398254ddf (diff) | |
download | ingen-a90eec5c87af4dec9f8f45223cd228cb7ca674c6.tar.gz ingen-a90eec5c87af4dec9f8f45223cd228cb7ca674c6.tar.bz2 ingen-a90eec5c87af4dec9f8f45223cd228cb7ca674c6.zip |
Use C++11 atomics.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4916 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/JackDriver.hpp')
-rw-r--r-- | src/server/JackDriver.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp index 0369be05..59a62ad6 100644 --- a/src/server/JackDriver.hpp +++ b/src/server/JackDriver.hpp @@ -20,6 +20,7 @@ #include "ingen_config.h" #include <string> +#include <atomic> #include <jack/jack.h> #include <jack/transport.h> @@ -27,7 +28,6 @@ #include <jack/session.h> #endif -#include "raul/AtomicInt.hpp" #include "raul/Semaphore.hpp" #include "lv2/lv2plug.in/ns/ext/atom/forge.h" @@ -137,7 +137,7 @@ protected: Ports _ports; LV2_Atom_Forge _forge; Raul::Semaphore _sem; - Raul::AtomicInt _flag; + std::atomic<bool> _flag; jack_client_t* _client; jack_nframes_t _block_length; jack_nframes_t _sample_rate; |