From 4625132b902cf648e6b0f3dfbcfb5699bc21ece1 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Mon, 8 Feb 2021 09:40:35 +0000 Subject: ipa: raspberrypi: Remove atomic variable from Algorithm class Pause() and Resume() are only called synchronously so paused_ does not need to be atomic. Signed-off-by: David Plowman Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/algorithm.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ipa') diff --git a/src/ipa/raspberrypi/controller/algorithm.hpp b/src/ipa/raspberrypi/controller/algorithm.hpp index e9b040c7..5123c87b 100644 --- a/src/ipa/raspberrypi/controller/algorithm.hpp +++ b/src/ipa/raspberrypi/controller/algorithm.hpp @@ -12,7 +12,6 @@ #include #include #include -#include #include "controller.hpp" @@ -46,7 +45,7 @@ public: private: Controller *controller_; - std::atomic paused_; + bool paused_; }; // This code is for automatic registration of Front End algorithms with the -- cgit v1.2.1