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 2D96DA0564; Thu, 4 Mar 2021 07:48:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1788640692; Thu, 4 Mar 2021 07:48:05 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2116.outbound.protection.outlook.com [40.107.94.116]) by mails.dpdk.org (Postfix) with ESMTP id 44EBA40147 for ; Thu, 4 Mar 2021 07:48:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j33Hzv/ZnY6gHnHDZ+DQzqIPnMYLv19G8jryN3vaPWJRHb8U2rbAy/3kPdLsUlk3Ul0idjIDA0jbqWIG/hQnEc+iMsrGY+M8s6ZLpOtJRQvopUBpBslktzo3wvxkZDwnUkuG3SWY7HFVjw9SSOXYoxh7aIU9inTqRagrx0n61kLhnL60JB880Ee5n36VBH+6/pdtUnvHyEvRVYzGbn5Z1cC7P7VF83KWC9tdj5UTFD+wBna0kTgb4lVkzZqN6e+0/WXzToSZqU8tCb3YiQGJ2E0e6zTA2KtovUVNKC5l5Wl5Dg/T0H8JCIwQPp5OOGLX/Z8vpMxC/FiCn4TrH1Vk0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=17Mw93PoQe0kY/wgqmiyugG6IWl0jZtSKK16YdEd/VE=; b=eSlVNxwAORUhghQB0E50FtqRg+4RaacZ+9wXGmehDIQyYU/P/9TCiJBDd7XgQxh0NdNhXkAN8JkMYItLLHxpAOeTltAAo3E3asCWtaXT/xQ9VBwWRBs7ph4Kez1icGpFLKuudicWnzHXs+EVdHicZwS+b1q+bXebuU3bCGLx6ihsG7CoLIqQfwYzYLmSUoWRUt8y23vdSCa15oJkzO+SVzKof2cl4Cq2NBy5pQwRdtQmBQbs61ziaCF9PVM5b57aBVkQRcxKft+xTVsmHBwXlI/boreunnwOMCnTgZxJlJD5yVxwnQKccH8vwGPrBrEpeGqYLgWMTUb54bpbU4WAag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=17Mw93PoQe0kY/wgqmiyugG6IWl0jZtSKK16YdEd/VE=; b=jeJpEiOyLqkeZRLXd2Wnw4uvZ+dai1aZCUyGxxXjxqi3HqdCOgZOdH88/5SbQ1OsEOYnkTflcL7FLBt/HnApDaVHXcyHREYdrJYlkrY+1lrJNHy0TRK3Vf+SfAzx7AXEKJ4RFL1T6sBmBDyOs0+lN2WV9xepXHLQkrS+sy6+wjE= Received: from MW4PR21MB1954.namprd21.prod.outlook.com (2603:10b6:303:7d::5) by MW2PR2101MB1098.namprd21.prod.outlook.com (2603:10b6:302:a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.11; Thu, 4 Mar 2021 06:47:57 +0000 Received: from MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af]) by MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af%8]) with mapi id 15.20.3933.007; Thu, 4 Mar 2021 06:47:56 +0000 From: Khoa To To: Dmitry Kozlyuk , "dev@dpdk.org" CC: Tal Shnaiderman , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , "Kadam, Pallavi" , Ray Kinsella , Neil Horman Thread-Topic: [EXTERNAL] [dpdk-dev] [PATCH v3 3/7] eal: add sleep API Thread-Index: AQHXCF3lDzKcqxKS7EGaHweKvT15Yqpzc8Dg Date: Thu, 4 Mar 2021 06:47:56 +0000 Message-ID: References: <20210221012831.14643-1-dmitry.kozliuk@gmail.com> <20210221142819.6769-1-dmitry.kozliuk@gmail.com> <20210221142819.6769-4-dmitry.kozliuk@gmail.com> In-Reply-To: <20210221142819.6769-4-dmitry.kozliuk@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=77c40f0c-4534-4241-8452-e30b4864ae95; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-03-04T06:47:28Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [67.170.72.207] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: aa177575-e0aa-4a45-1406-08d8ded971b2 x-ms-traffictypediagnostic: MW2PR2101MB1098: x-ms-exchange-transport-forked: True x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:586; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CyvwIYihoLEURQvaJ5qCV5uHeaUQF3l1QzILfttPQS2d+7UHCfNiOAyZ8nsv9fdAUcyetR526UASV5UdKSKZZlWDp/wgw+mipJRHS51rIVrMLLMw0BaX+IFLT0vFfwyaIWVjqK72pYxcrf18COXtqwwXN4qD6v2UCeMp7BfCWdFRQhLkBoNJIV4LDLPNewCAAOdRRB8+GW6n2YRXWwTI5POJWYg9VsmCuqMtHxtIAuqfOv5rMkK9DT0rfv9m23S+J0DkgwAUiFLJkKQUBVx5cmI+pCpphSuKydN9MsWJokXir59TwjQ71sqDKuFqu9xVLS9IaxLheEdCC/wqznqc6UrUVXPCy2YwjGmZx9GhmcuulKtbhxq2BDrQlNKfq+AwuNmu5xI18puG5sZ+qmKafJSkieZknHjXzHF4Gk9Na/g1qrcCQeIwqZh8br27fKKlblTqp1Ml5Q5MxuZ9jNOjPqxYzK6q1e9JDhYF87+yyI7xkbs49BAcTENgEjrfWMbEnaOVD3MVKNbULpFOpCuUibV6TJLWgMUNqXAoTB78njGQy+XzimA62pe/fUDiqFsL x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR21MB1954.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(366004)(346002)(83380400001)(5660300002)(26005)(33656002)(71200400001)(86362001)(76116006)(478600001)(4326008)(66946007)(8936002)(64756008)(66476007)(186003)(66556008)(8676002)(8990500004)(2906002)(6506007)(82950400001)(66446008)(9686003)(82960400001)(7696005)(558084003)(55016002)(52536014)(10290500003)(54906003)(316002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?sSkcx/SlvEGj2PhwJ1hl4Uokj8OI8VGLeQs46yULvn8JF2aVkURzYxyg4MDW?= =?us-ascii?Q?NOUsN7haw+k/Gs95dDIIZo4KkmtrsgogOUf5RqRN35Zzbma+TIGK3pptM2gQ?= =?us-ascii?Q?f7IRfzr80kpXE6FfSeewNExw404JsQStzzxiQPfaBjmkRxaSygpuos1t5IlV?= =?us-ascii?Q?kcX9I6CURCw8dumxvS/kn8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9LFIFzL?= =?us-ascii?Q?Imp+QYyiow+LEnPQOjGt/tPYi2+ua5pz8V1R8tbCkXJ1WFN2GTq9iIJe9M//?= =?us-ascii?Q?/a1Mv4L/jkSWPAIZRn5Y/+cLzDGSP25ZbxpmKoEK0EyebMQxsBQJVT/gCabP?= =?us-ascii?Q?I6x7AcH67giw3xj1V0XUMUX1pAZwo6DYCxRvDPJftp6faeeRBz7DUNKoJ/XD?= =?us-ascii?Q?yW8BQt4P8QpSy/RCBOmwjGSQYsQ8YezZ4yDhd7UiLYZISRw5zv0MlSHQzPO5?= =?us-ascii?Q?XKeI6yf5vbEr13i2hnJVp/BL?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR21MB1954.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa177575-e0aa-4a45-1406-08d8ded971b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2021 06:47:56.8645 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0LPqI7xKGosvsI80HSkriAmiFEjop3uqvssN9W8yhdWmPtoPU1aJfPBV9kJRNmSHiUj+XhLO3r3dpxoMwCx7sBOKiH6Uc1q1AAai1Pj1bug= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1098 Subject: Re: [dpdk-dev] [EXTERNAL] [PATCH v3 3/7] 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" > POSIX sleep(3) is missing from Windows. > Add generic rte_thread_sleep() to suspend current OS thread. >=20 > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To