diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-23 04:48:56 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-14 15:06:42 +0200 |
commit | 3f207e0b333c6b8f071f6d04cea96eb9c26b0f16 (patch) | |
tree | 79e07da7133fb5cdb699fb0378409fb4952c989a /test/v4l2_videodevice/stream_on_off.cpp | |
parent | 0f292e7821b809df77de443dd30148a609cc4f49 (diff) |
libcamera: thread: Support timeout in wait() function
Add a parameter to the Thread::wait() function to wait with a timeout.
The delay value utils::duration::max() waits forever.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/v4l2_videodevice/stream_on_off.cpp')
0 files changed, 0 insertions, 0 deletions