From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 1A24A805D for ; Mon, 24 Nov 2014 16:34:13 +0100 (CET) Received: by mail-wi0-f181.google.com with SMTP id r20so6257493wiv.8 for ; Mon, 24 Nov 2014 07:45:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=7F6Dodfc2zugSUi+ZOLRdT5VvjyAZlDNIz/DxJA6Ico=; b=h6edmLOV2916jn2c3SEt5k53BadzW5DSiORzS5JWh7vYJDV9wb+sPVZPZeolFmR4iJ qyvVK3kTD1l7KUlYf3xSvldzVJCqq+7NgQid7MhU29HkYOjwzfCCHkxk6W7gKL56oRGm crVnWHYidu5Sv+T3Vs72J69MluaDdLu2ZFmMrWrJG4SrBOJlE51thtzs/zlV3z0uPiwn uuF104Vu3JnBE95xtoWfKMnbsmKG9Qp82h1kTmcoCm+MjC2DkJk6CQsxRWKcW3bwljXt eEWbitlfQs4LxsH1FuvOyHgRJLIWjpojK6H/hoNe1mKI3WNwmIGdSqm9Jbe03NFdpAFK hnCA== X-Gm-Message-State: ALoCoQkgbN5BqFNGaNFpVeefLnI5FbTT0nUqoXMvZ6O7TVOgjdYkIib9nHQyEiLXnkehmu8/hNMy X-Received: by 10.181.28.3 with SMTP id jk3mr2146898wid.14.1416843901503; Mon, 24 Nov 2014 07:45:01 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id dg7sm12516275wib.24.2014.11.24.07.44.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 07:45:00 -0800 (PST) From: Thomas Monjalon To: Pawel Wodkowski Date: Mon, 24 Nov 2014 16:44:36 +0100 Message-ID: <17742378.z5iT7ImHt1@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <20141001151235.GD24028@localhost.localdomain> References: <1412173222-22391-1-git-send-email-pawelx.wodkowski@intel.com> <20141001151235.GD24028@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] alarms: Change alarm cancel function to be thread-safe X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 15:34:13 -0000 2014-10-01 11:12, Neil Horman: > On Wed, Oct 01, 2014 at 03:20:22PM +0100, Pawel Wodkowski wrote: > > v3: > > Set rte_errno inside rte_alarm_cancel() to inform caller about canceling result. > > > > v2: > > Eliminate a race between rte_alarm_set() used in context of executing callback > > function and other threads that use rte_alarm_cancel(). > > > > Signed-off-by: Pawel Wodkowski [...] > Much better, thanks! > Acked-by: Neil Horman Applied Thanks -- Thomas