diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-11-27 05:16:56 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-12-09 15:32:40 +0200 |
commit | 7df177fd889624c4b149ba2ecabb4969ad8c2bee (patch) | |
tree | b8ebfe9bea24890196f4e01256ac3004608abfa5 /test/ipa/ipa_wrappers_test.cpp | |
parent | 07e3933570979046124c517b22cf4420daf4102f (diff) |
libcamera: object: Document danger of deleting object from other thread
Object instances receive messages dispatched from the event loop of the
thread they belong to. Deleting an object from a different thread is
thus dangerous, unless the caller ensures that no message delivery is in
progress. Document this in the Object class documentation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/ipa/ipa_wrappers_test.cpp')
0 files changed, 0 insertions, 0 deletions