commit | 152adad97a95c15ae9ac2e1889f94a3dc6412165 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Sun Aug 29 18:10:57 2021 |
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Mon Jan 03 13:31:19 2022 |
tree | c56fd78c394e99984483d3d2845202930beb2009 | |
parent | ec6921d7f7ef70cd7c5ea3d7a20082d66b8aa6e5 [diff] |
libcamera: pipeline_handler: Make lock() and unlock() thread-safe The PipelineHandler lock() and unlock() functions are documented as thread-safe, but they're not. Fix them using a mutex. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>