libcamera/include
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
..
android include: android: Add SPDX tags 2019-08-12 10:34:13 +02:00
ipa ipa: Allow short-circuiting the ipa_context_ops 2019-11-20 21:48:05 +02:00
libcamera libcamera: bound_method: Manage BoundMethodPack through std::shared_ptr 2020-01-07 22:29:31 +02:00
linux include: linux: Update Linux headers readme to v5.2 2019-12-08 23:59:25 -05:00
meson.build libcamera: Move ipa includes to the same level as libcamera 2019-09-15 13:57:08 +03:00