From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 491CBA034F; Mon, 22 Mar 2021 09:57:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36A3140040; Mon, 22 Mar 2021 09:57:12 +0100 (CET) Received: from dal2relay115.mxroute.com (dal2relay115.mxroute.com [64.40.26.115]) by mails.dpdk.org (Postfix) with ESMTP id 5DB734003D for ; Mon, 22 Mar 2021 09:57:10 +0100 (CET) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by dal2relay115.mxroute.com (ZoneMTA) with ESMTPSA id 1785926ed2c000362f.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 22 Mar 2021 08:57:06 +0000 X-Zone-Loop: ee7da1de087024c5210842b4c8fb33719c2f44461493 X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=j/rzppfoOQjPQsifzdsQCEp1RVOTujiknhan+k08wVI=; b=HpFfA3g8HDH8S9u4fKvW6RZDJp GXVnMByI/lgXaE5e/23fZsmm4EBe9Xq0GLhxVFub4RPPOhvmUZQJFIcu4x3ivL1kqEIqn+BJga2oJ b3TdX/gnjN5qzvOy9XmWZvwstsKRFKMcn+1zD4TG9hBYbX5xhJSrhPQ9rSZFJZ2Z5Y3paFQpRXoFN TBQEcIloIbxw+bV5VsanoSc4DD2PixUuDLhzhCW/aYVwbyOCtXPHdQg6xXyNJAOptmSrtGJQNmoZS jrs3tRO1KIPCRKocWNUU/Q1vtkuSZNxcaOTNfWofXxTFBqZWToyejnyFat+TlyEvZXlLcCLyZsUUF xZm2ne7g==; To: Dmitry Kozlyuk , dev@dpdk.org Cc: Tyler Retzlaff , Jie Zhou , Khoa To , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Neil Horman References: <20210306000500.8698-1-dmitry.kozliuk@gmail.com> <20210320112733.13160-1-dmitry.kozliuk@gmail.com> <20210320112733.13160-2-dmitry.kozliuk@gmail.com> From: "Kinsella, Ray" Message-ID: <1421c712-e1aa-289c-e552-d79ac33b940b@ashroe.eu> Date: Mon, 22 Mar 2021 08:57:01 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210320112733.13160-2-dmitry.kozliuk@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu Subject: Re: [dpdk-dev] [PATCH v5 1/5] eal: add sleep API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 20/03/2021 11:27, Dmitry Kozlyuk wrote: > POSIX sleep(3) is missing from Windows. > Add generic rte_thread_sleep() to suspend current OS thread. > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Khoa To > --- > lib/librte_eal/common/eal_common_timer.c | 5 +++-- > lib/librte_eal/include/rte_thread.h | 11 +++++++++++ > lib/librte_eal/rte_eal_exports.def | 2 ++ > lib/librte_eal/unix/rte_thread.c | 10 +++++++++- > lib/librte_eal/version.map | 3 +++ > lib/librte_eal/windows/eal_thread.c | 9 ++++++++- > 6 files changed, 36 insertions(+), 4 deletions(-) > [SNIP] Acked-by: Ray Kinsella