libcamera/Documentation
Laurent Pinchart b0135a1522 libcamera: bound_method: Manage BoundMethodPack through std::shared_ptr
The bound method arguments pack will need to be accessed by the method
invoker in order to retrieve the method return value when using a
blocking connection type. We thus can't delete the pack unconditionally
in the bound method target thread. We also can't delete it
unconditionally in the invoker's thread, as for queued connections the
pack will be used in the target thread after the invoker completes.

This shows that ownership of the arguments pack is shared between two
contexts. As a result, manage it using std::shared_ptr<>.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-01-07 22:29:31 +02:00
..
api-html Documentation: Link to API section in Docs 2019-10-23 17:41:09 +03:00
theme Documentation: theme: css: Really hide toc trees 2019-10-23 17:41:09 +03:00
coding-style.rst Documentation: Move coding style under contributing 2019-10-23 17:41:09 +03:00
conf.py libcamera: Auto generate version information 2019-07-04 22:11:27 +01:00
contributing.rst Documentation: contributing: Remove Sphinx + Doxygen integration 2019-10-23 17:41:09 +03:00
docs.rst Documentation: Generate local TOC on demand 2019-10-23 17:41:09 +03:00
Doxyfile.in libcamera: bound_method: Manage BoundMethodPack through std::shared_ptr 2020-01-07 22:29:31 +02:00
index.rst Documentation: Hide the Getting Started information 2019-10-23 17:41:09 +03:00
meson.build ipa: Switch to the plain C API 2019-11-20 21:48:00 +02:00