diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2023-03-13 16:41:35 -0400 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-03-21 23:30:22 +0000 |
commit | 2ccca099d3cbdfa32f0a8bfd2168873b7b803159 (patch) | |
tree | 655c58ac53e959f8090f9636f74c1e3d5982d70c /test/libtest/buffer_source.cpp | |
parent | f852b7fbc4960ea83bab49b75408fb13462db8ba (diff) |
libcamera: base: Make the registration of log categories atomic
Logger::create() is not currently thread safe and causes crashes
noticeable on RaspberryPi 4. This adds a mutex around the creation
of categories.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/libtest/buffer_source.cpp')
0 files changed, 0 insertions, 0 deletions