diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2020-01-16 10:24:19 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-07 01:57:45 +0200 |
commit | 7e82d3c2a1ecca4f2041a1a095a0725fe9d172c0 (patch) | |
tree | 8370655a4507db8a155d27c45bffabea6e84c093 /test/camera/configuration_set.cpp | |
parent | 0e0cc2149ec10f6bad74a646ce3eaeba7f6c5b54 (diff) |
gst: utils: Add simple scoped lockers for GMutex and GRectMutex
While GLib has locker implementation already using g_autoptr(), recursive mutex
locker was only introduced in recent GLib. Implement a simple locker for GMutex
and GRectMutex in order to allow making locking simpler and safer.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/camera/configuration_set.cpp')
0 files changed, 0 insertions, 0 deletions