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>
This commit is contained in:
parent
756fcbaaf2
commit
4625132b90
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <atomic>
|
|
||||||
|
|
||||||
#include "controller.hpp"
|
#include "controller.hpp"
|
||||||
|
|
||||||
|
@ -46,7 +45,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Controller *controller_;
|
Controller *controller_;
|
||||||
std::atomic<bool> paused_;
|
bool paused_;
|
||||||
};
|
};
|
||||||
|
|
||||||
// This code is for automatic registration of Front End algorithms with the
|
// This code is for automatic registration of Front End algorithms with the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue