diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-21 22:47:53 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-04 23:07:55 +0300 |
commit | 06bd05beced313c79a72bad53870e5dc233f563e (patch) | |
tree | e7e71f2561913d7edcefb26df97951e0065e43bc /test/libtest/buffer_source.h | |
parent | 3ae535ceb4beb82b4ea44fa30527de6d87c87346 (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 'test/libtest/buffer_source.h')
0 files changed, 0 insertions, 0 deletions