summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/sunset.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-30 01:20:10 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-11-19 22:38:44 +0200
commita01007b102749caa08c1197f8ee3e1c4ed1cc530 (patch)
treec612280e2d636d0bc76484f27829c1e582eff284 /src/qcam/assets/feathericons/sunset.svg
parentf6a5d675b1cfd1ee9cb9358526e1f84b821b9e07 (diff)
libcamera: Allow concurrent use of cameras from same pipeline handler
libcamera implements a pipeline handler locking mechanism based on advisory locks on media devices, to prevent concurrent access to cameras from the same pipeline handler from different processes (this only works between multiple libcamera instances, as other processes won't use advisory locks on media devices). A side effect of the implementation prevents multiple cameras created by the same pipeline handler from being used concurrently. Fix this by turning the PipelineHandler lock() and unlock() functions into acquire() and release(), with a use count to replace the boolean lock flag. The Camera class is updated accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/sunset.svg')
0 files changed, 0 insertions, 0 deletions