diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-11-15 19:01:56 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | 8ac8ecb1e12f18891369bb26693bc3a0a7d6ff94 (patch) | |
tree | 57d71939ed2b2cca0baca6bd6606e7776bfd1b78 /test/event-thread.cpp | |
parent | db37335ee0ee78f7e5562a9617c1b4f17451fc3a (diff) |
libcamera: fence: Introduce Fence
Introduce a Fence class which models a synchronization primitive that
allows to notify the availability of a resource.
The Fence is modeled as a wrapper of a UniqueFD instance where
read events are used to signal the Fence. The class can be later
extended to support additional signalling mechanisms.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/event-thread.cpp')
0 files changed, 0 insertions, 0 deletions