[libcamera-devel] [PATCH v3 08/17] py: Use libcamera's Mutex classes

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Fri Aug 19 08:20:25 CEST 2022


On 19/08/2022 08:52, Tomi Valkeinen wrote:
> On 18/08/2022 22:21, Laurent Pinchart wrote:
>> Hi Tomi,
>>
>> Thank you for the patch.
>>
>> On Fri, Jul 01, 2022 at 11:45:12AM +0300, Tomi Valkeinen wrote:
>>> Use libcamera's Mutex and MutexLocker instead of the std versions to get
>>> thread safety annotations.
>>>
>>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
>>
>> Note that due to a recent change that made the mutex.h header private,
>> you will need to use libcamera_private instead of libcamera_public in
>> pycamera_deps in meson.build.
> 
> Hmm, compiles fine with today's upstream master without changing to 
> libcamera_private.

Ah, we had "'-DLIBCAMERA_BASE_PRIVATE'" there. I'll drop that and switch 
to libcamera_private.

  Tomi


More information about the libcamera-devel mailing list