diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 05:58:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:49:13 +0100 |
commit | 03d28dde1635e36508cff1f9eabc265cdb5febb9 (patch) | |
tree | ee62d5851315c7b4c2c3c05f8a72e29a6dd4a1e8 /logic/pipeline.hpp | |
parent | f8faca0abecafd6e65d07bd0fdd618070114cdfa (diff) |
compat/mutex: remove
Always use the adaptive QMutex.
Diffstat (limited to 'logic/pipeline.hpp')
-rw-r--r-- | logic/pipeline.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp index 40088a5d..545a7836 100644 --- a/logic/pipeline.hpp +++ b/logic/pipeline.hpp @@ -7,7 +7,6 @@ #include "mappings.hpp" #include "compat/euler.hpp" #include "compat/enum-operators.hpp" -#include "compat/spinlock.hpp" #include "runtime-libraries.hpp" #include "extensions.hpp" @@ -70,7 +69,7 @@ enum bit_flags : unsigned { struct OTR_LOGIC_EXPORT bits { bit_flags flags{0}; - std::atomic_flag lock = ATOMIC_FLAG_INIT; + QMutex lock; void set(bit_flags flag, bool val); void negate(bit_flags flag); |