From patchwork Sun Jan 21 03:59:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19422 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 6F41CC3243 for ; Sun, 21 Jan 2024 03:59:49 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 227F362916; Sun, 21 Jan 2024 04:59:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1705809589; bh=YKMrmR+f1h9TsYaiD3Ie7x5llPfWyBSX3GKqx+lg7W8=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ZOLwqUKScIT7a5CtJSgXQV/C6vzfGc9EirBuaqcjtbZLUXcsxoEknXEr9FEzvnodw OQHjZG0F2Ua3BBxzuCcBJT1w0sZpurvem7eDChpsVUDaCb7Dk4EaS3/oaxJrX+Vwxp KKi7MruO8fYQXm22vsRrqxB6MuxbSj+pRZ15H/quyMtg1Yr9ubB4qakbuj2To7cZve jDGW/STzGD6pHFY09UmDZbLVL1sVA85EOGnMZ4Op+O5qsWVc+MYldyQU6bflfCmXGw +2gRdpPWytffago8I5woQIpo6WtXB0kquKlmVALbiklO9CTT2uifLTF5hAmBLcCFM3 nGhm7W9e8oNvg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E1810628B6 for ; Sun, 21 Jan 2024 04:59:46 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="JJE4J2nz"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D8335138B; Sun, 21 Jan 2024 04:58:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1705809515; bh=YKMrmR+f1h9TsYaiD3Ie7x5llPfWyBSX3GKqx+lg7W8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JJE4J2nzKrJGH45Kv1A64l6hHM5Y8KSdT+RmjWvawP5Rz+0W/UTcg3MY15gGo498h 0Y8Ke5LLBlrxJDgq/p+EXsnxMkVDKrzrewx0F/9bA1oumw8CLEZDT/n9wfMkalhhXo 6vbuk5w37+hSfmxyM1TZU5nBnR6NC1zQLp1zK8pI= To: libcamera-devel@lists.libcamera.org Date: Sun, 21 Jan 2024 05:59:37 +0200 Message-ID: <20240121035948.4226-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240121035948.4226-1-laurent.pinchart@ideasonboard.com> References: <20240121035948.4226-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 01/12] libcamera: object: Fix thread-bound reference in documentation X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The Object::message() function is documented as thread-bound without using the correct \threadbound reference. Fix it to ensure it gets included in the thread safety context list. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal --- src/libcamera/base/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/base/object.cpp b/src/libcamera/base/object.cpp index 92cecd22fbe9..1fce5a2af9af 100644 --- a/src/libcamera/base/object.cpp +++ b/src/libcamera/base/object.cpp @@ -259,7 +259,7 @@ void Object::message(Message *msg) * Moving an object that has a parent is not allowed, and causes undefined * behaviour. * - * \context This function is thread-bound. + * \context This function is \threadbound. */ void Object::moveToThread(Thread *thread) {