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 27534433E5; Mon, 27 Nov 2023 18:27:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0B4C402E8; Mon, 27 Nov 2023 18:27:24 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 8BBEB402A3 for ; Mon, 27 Nov 2023 18:27:23 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 95D2520B74C0; Mon, 27 Nov 2023 09:27:22 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 95D2520B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1701106042; bh=izPOIKuc2yOVUrkWVzhbiaXwjUZrWHbWO5LRUWxOw9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iCEjKH3xJqd/Ex6lQ85uok2yq3Pox3+T6WlACAKwg57DXrRk4Jqz4iFYpQgsWpBAh yk0WmvvqAVUg7uqiTq/OWl5kEHrF/KT+2QjLHaBerpdk3IpGobfAmySOsir5ABYh72 yGKudrTlmBCEctWgRyJx0tF6YA9T4Fl3Uooy14wY= Date: Mon, 27 Nov 2023 09:27:22 -0800 From: Tyler Retzlaff To: David Vodak Cc: dev@dpdk.org Subject: Re: [PATCH] eal: introduce missing rte_thread wrappers Message-ID: <20231127172722.GA14975@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20231127092502.18510-1-vodak@cesnet.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231127092502.18510-1-vodak@cesnet.cz> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Mon, Nov 27, 2023 at 10:25:02AM +0100, David Vodak wrote: > Function rte_ctrl_thread_create has been replaced by rte_thread_create_control, > encouraging Linux users to switch from the pthread_t API to the rte_thread API. > However the rte_thread API does not provide wrappers for all pthread functions. > This commit introduces equivalent functions for pthread_timedjoin_np, > pthread_getname_np and pthread_cancel. > > Bugzilla ID: 1330 > --- NAK this series. the rte thread API is not a POSIX emulation API. the point of EAL is not to require applications to have to conditionally compile code around the use of EAL API or handle "not supported" failures it defeats the purpose of being an abstraction library.