diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-04 02:42:28 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-04 17:58:00 +0300 |
commit | 036d26d6677e0b8e6cf284c0801b267c5f81720e (patch) | |
tree | 84ccd3cd40a1af11c1e6e81f247a5b36f8537beb /test/hotplug-cameras.cpp | |
parent | ca33225ceb4c7b414eb1a8579af14c2c06f1f4ea (diff) |
test: threads: Test thread cleanup upon abnormal termination
If a thread ends abnormally (that is, without retuning normally from its
run() function, for instance with a direct call to pthread_cancel()),
thread cleanup should still be performed. Add a test to ensure this.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions