summaryrefslogtreecommitdiff
path: root/src/lc-compliance/simple_capture.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-21 22:47:53 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-04 23:07:55 +0300
commit06bd05beced313c79a72bad53870e5dc233f563e (patch)
treee7e71f2561913d7edcefb26df97951e0065e43bc /src/lc-compliance/simple_capture.h
parent3ae535ceb4beb82b4ea44fa30527de6d87c87346 (diff)
gstreamer: Use dedicated lock for request queues
Add a new lock to the GstLibcameraSrcState class to protect the queued and completed requests queues. This replaces the GstObject lock, and minimizes the lock contention between the request completion handler and the task run handler as the former must run as fast as possible. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/lc-compliance/simple_capture.h')
0 files changed, 0 insertions, 0 deletions