[libcamera-devel] [PATCH 3/4] libcamera: thread: Drop doc of asynchronous signals delivery to applications

Hirokazu Honda hiroh at chromium.org
Mon May 24 07:41:41 CEST 2021


Hi Laurent, thank you for the patch,

On Mon, May 24, 2021 at 11:44 AM Umang Jain <umang.jain at ideasonboard.com>
wrote:

> Hi Laurent,
>
> On 5/23/21 8:01 AM, Laurent Pinchart wrote:
> > The asynchronous signal delivery mechanism can't be used by application,
> > as it requires libcamera to be aware of the application event loop,
> > which has been dropped a long time ago. Drop the corresponding
> > documentation paragraph.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Reviewed-by: Umang Jain <umang.jain at ideasonboard.com>
>

Reviewed-by: Hirokazu Honda <hiroh at chromium.org>


> > ---
> >   src/libcamera/thread.cpp | 8 --------
> >   1 file changed, 8 deletions(-)
> >
> > diff --git a/src/libcamera/thread.cpp b/src/libcamera/thread.cpp
> > index bc1dcedea0d1..d59e43966d26 100644
> > --- a/src/libcamera/thread.cpp
> > +++ b/src/libcamera/thread.cpp
> > @@ -64,14 +64,6 @@
> >    * be overridden by selecting a different connection type when calling
> >    * Signal::connect().
> >    *
> > - * Asynchronous signal delivery is used internally in libcamera, but is
> also
> > - * available to applications if desired. To use this feature,
> applications
> > - * shall create receiver classes that inherit from the Object class, and
> > - * provide an event loop to the CameraManager as explained above. Note
> that
> > - * Object instances created by the application are limited to living in
> the
> > - * application's main thread. Creating Object instances from another
> thread of
> > - * an application causes undefined behaviour.
> > - *
> >    * \section thread-reentrancy Reentrancy and Thread-Safety
> >    *
> >    * Through the documentation, several terms are used to define how
> classes and
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20210524/931f5acc/attachment.htm>


More information about the libcamera-devel mailing list