From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 461E1A09FF; Wed, 6 Jan 2021 20:46:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FB48140E3E; Wed, 6 Jan 2021 20:46:07 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id 172D0140E1D for ; Wed, 6 Jan 2021 20:46:03 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 6 Jan 2021 21:45:59 +0200 Received: from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 106Jjxsx002786; Wed, 6 Jan 2021 21:45:59 +0200 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, david.marchand@redhat.com Date: Wed, 6 Jan 2021 21:45:41 +0200 Message-Id: <20210106194543.14024-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20210105170635.6212-2-talshn@nvidia.com> References: <20210105170635.6212-2-talshn@nvidia.com> Subject: [dpdk-dev] [PATCH v8 0/2] support generic threading functions 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" Add API for generic threading functions in EAL which do not reference pthread API. --- v8: * Documentation and minor code changes (DmitryK). --- Tal Shnaiderman (2): eal: move thread affinity functions to new file eal: add generic thread-local-storage functions lib/librte_eal/include/meson.build | 1 + lib/librte_eal/include/rte_lcore.h | 22 +------ lib/librte_eal/include/rte_thread.h | 113 ++++++++++++++++++++++++++++++++++++ lib/librte_eal/rte_eal_exports.def | 5 ++ lib/librte_eal/unix/meson.build | 1 + lib/librte_eal/unix/rte_thread.c | 86 +++++++++++++++++++++++++++ lib/librte_eal/version.map | 6 ++ lib/librte_eal/windows/meson.build | 1 + lib/librte_eal/windows/rte_thread.c | 83 ++++++++++++++++++++++++++ 9 files changed, 297 insertions(+), 21 deletions(-) create mode 100644 lib/librte_eal/include/rte_thread.h create mode 100644 lib/librte_eal/unix/rte_thread.c create mode 100644 lib/librte_eal/windows/rte_thread.c -- 2.16.1.windows.4