android: Consolidate mutex classes to Mutex and MutexLocker
std::mutex and std::unique_lock are used in android directories, mixing Mutex and MutexLocker. This consolidates them to Mutex and MutexLocker. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
923cf7f40a
commit
3536473e06
@@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
||||
@@ -173,7 +172,7 @@ private:
|
||||
* The class has to be MoveConstructible as instances are stored in
|
||||
* an std::vector in CameraDevice.
|
||||
*/
|
||||
std::unique_ptr<std::mutex> mutex_;
|
||||
std::unique_ptr<libcamera::Mutex> mutex_;
|
||||
std::unique_ptr<PostProcessor> postProcessor_;
|
||||
|
||||
std::unique_ptr<PostProcessorWorker> worker_;
|
||||
|
||||
Reference in New Issue
Block a user