summaryrefslogtreecommitdiff
path: root/test/ipc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-19 04:59:02 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-13 12:34:34 +0200
commit09c45cc1faa9805124168de414df7eba007acfee (patch)
treecb34447950c27eccaef7b135ef5e8c7141bde303 /test/ipc
parent89503199e8d09ac17e6d2dde7715a843ede77e5c (diff)
libcamera: signal: Make connection and disconnection thread-safe
Make the signal connection and disconnection thread-safe, and document them as such. This is required to make objects connectable from different threads. The connect(), disconnect() and emit() methods are now all protected by a global mutex, which may generate a high lock contention. This could be improved with finer-grained locks or with a pool of mutexes. 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/ipc')
0 files changed, 0 insertions, 0 deletions