summaryrefslogtreecommitdiff
path: root/include/linux/v4l2-controls.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-11-27 07:32:53 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-11-27 19:31:21 +0200
commit803e592cf6ff0c58cdb99c00b1508cefd7d85fe0 (patch)
treea6503aa897c1af3eaa2e35f0aafe7e9dce35f51f /include/linux/v4l2-controls.h
parente54e9ebff4293c2bcacac4ecb10af8b29480fba9 (diff)
test: object-invoke: Delete InvokeObject after thread termination
The InvokeObject instance is created on the stack in the run() method, and is thus destroyed before the thread the object is bound to terminates. This creates a race condition as the object message handler could be running when the object is deleted. Fix this by moving the InvokeObject to a member field. 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 'include/linux/v4l2-controls.h')
0 files changed, 0 insertions, 0 deletions