From patchwork Fri Dec 3 19:55:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 15026 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 E1717C3251 for ; Fri, 3 Dec 2021 19:55:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 362BB60862; Fri, 3 Dec 2021 20:55:55 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="dhGJ8cFa"; dkim-atps=neutral Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BD2746084A for ; Fri, 3 Dec 2021 20:55:53 +0100 (CET) Received: by mail-pl1-x629.google.com with SMTP id u17so2823095plg.9 for ; Fri, 03 Dec 2021 11:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lsc3g63mrM05MWhhAddTRLejLH9PImlNw/DUff7hN4s=; b=dhGJ8cFakBdzzgePQYtplyKCXK0kHbKUtgk7TwQ1BfmNLYmsRPbKHPVJ4nATOMOi4J at2yV8L6b/9oz1FM8DF7kEGcS1VZElmeciSKC8X4lhSGNN/IFjaKJ9M4Xr2Wj/MsZxDT Yk/DbMJKqeGKrP+IA4IKwSdCwb85+qtARdEGw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lsc3g63mrM05MWhhAddTRLejLH9PImlNw/DUff7hN4s=; b=SkhVU0N3PNgUGLDf0ca8sUYXSXwFgqo4OlKwTI//Vh2cGMr9LBQaMIbc51uhlyEFJl vTvuPQLy+6Z8hNDqn7Ob02CQkYibZQTJB1Cj7B5ykqPbm5QWGEsxguBn7+LoQ4U4ZQbG LOMd15RMIkjwHilXXko92eMEcWm39DqE3HPi/7BtPLzvo7WE71gSoCLutobLa8Nj0R2G K0VVJMKgurF53rZ63XU6sSmNFp5rla3uo9ASXTOUiPR+RP3G6/aNwicQr1iUF22D+653 W2JCGNddhc4+LOAzsS/xJLtoHWFsr7CjAEp9MBlQRg3QaeOgCIn6fUSicSHGADvkGuno VnzA== X-Gm-Message-State: AOAM533T7EDmrVOyTnVBqiYBiBn6qIGVZ9LcrSyIwhFs3oBkIumI4SWZ HTxYS7yLTUffTWOBCjyvPAaJsKcplgkDFg== X-Google-Smtp-Source: ABdhPJwxJcQIXk4I98l+qRzxgxIyUbqwuIdAKLTZUAPLRi7dHYMNWO13DzNoFgzJuplgGbj8tRgbAg== X-Received: by 2002:a17:90b:2504:: with SMTP id ns4mr16065464pjb.175.1638561352058; Fri, 03 Dec 2021 11:55:52 -0800 (PST) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:cd78:3a5f:d792:6177]) by smtp.gmail.com with ESMTPSA id t3sm4265891pfj.207.2021.12.03.11.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 11:55:51 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Sat, 4 Dec 2021 04:55:36 +0900 Message-Id: <20211203195539.1574621-5-hiroh@chromium.org> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211203195539.1574621-1-hiroh@chromium.org> References: <20211203195539.1574621-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 4/7] ipa: raspberrypi: lux: Apply clang thread annotation 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This annotates member variable of Lux by clang thread safety annotations. Signed-off-by: Hirokazu Honda --- src/ipa/raspberrypi/controller/rpi/lux.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/raspberrypi/controller/rpi/lux.hpp b/src/ipa/raspberrypi/controller/rpi/lux.hpp index caa018da..04b82c4d 100644 --- a/src/ipa/raspberrypi/controller/rpi/lux.hpp +++ b/src/ipa/raspberrypi/controller/rpi/lux.hpp @@ -35,7 +35,7 @@ private: double reference_Y_; // out of 65536 double reference_lux_; double current_aperture_; - LuxStatus status_; + LuxStatus status_ LIBCAMERA_TSA_GUARDED_BY(mutex_); libcamera::Mutex mutex_; };