diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2021-02-08 09:40:35 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-02-08 19:30:12 +0200 |
commit | 4625132b902cf648e6b0f3dfbcfb5699bc21ece1 (patch) | |
tree | 754415b20aba9b28ecaebdd78ac611cf456a1b3d | |
parent | 756fcbaaf2df0e563e066090f1d3e529f74ebe84 (diff) |
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 <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/ipa/raspberrypi/controller/algorithm.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <string> #include <memory> #include <map> -#include <atomic> #include "controller.hpp" @@ -46,7 +45,7 @@ public: private: Controller *controller_; - std::atomic<bool> paused_; + bool paused_; }; // This code is for automatic registration of Front End algorithms with the |