summaryrefslogtreecommitdiff
path: root/test/list-cameras.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-04-14 02:53:35 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-05-17 20:35:09 +0200
commit2e22ee4310d47bc76c9db0da1b6b48f12f032743 (patch)
tree6e1a919fc97c51f45d5750d68e1636217862fb63 /test/list-cameras.cpp
parent1657291f5820713c0f1859f1e311fe47cfbcdc53 (diff)
libcamera: media_device: Add functions to lock device for other processes
Add lock() and unlock() which are backed by lockf() and allow an instance of libcamera to claim exclusive access to a media device. These functions are the base of allowing multiple user of libcamera to coexist in the system without stepping on each other's toes. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions