diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-05-22 02:46:22 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-05-24 13:33:48 +0300 |
commit | b9d55fe69ebb6bf146cf8696771faf61fa366762 (patch) | |
tree | 149182a9ba55cbbea77691d2f7273e951ab813f4 /test/event-thread.cpp | |
parent | cccb74800012899baf85926e2e73b8bd790ecacb (diff) |
libcamera: thread: Document race condition at stop time
When a thread stops, messages may be left in its message queue. Document
this in details, with a way to force processing of pending messages when
the thread is stopped.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/event-thread.cpp')
0 files changed, 0 insertions, 0 deletions