[PATCH v6 05/18] libcamera: shared_mem_object: reorganize the code and document the SharedMemObject class
Milan Zamazal
mzamazal at redhat.com
Tue Apr 2 21:02:59 CEST 2024
Laurent Pinchart <laurent.pinchart at ideasonboard.com> writes:
> On Tue, Mar 19, 2024 at 01:35:52PM +0100, Milan Zamazal wrote:
>> From: Andrei Konovalov <andrey.konovalov.ynk at gmail.com>
>>
>> +class SharedMemObject : public SharedMem
>> {
[...]
>> private:
>> - std::string name_;
>> - SharedFD fd_;
>> T *obj_;
>
> Do we need to store obj_, or could we always cast the
IIRC something similar has already been suggested, with the conclusion it'd
better not to touch this now. If there is a good idea how to improve this, it
can be done later.
More information about the libcamera-devel
mailing list