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 9EB2342534; Thu, 7 Sep 2023 10:31:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49DA0402AF; Thu, 7 Sep 2023 10:31:06 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 9D6FB4026C for ; Thu, 7 Sep 2023 10:31:04 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 77DE320977; Thu, 7 Sep 2023 10:31:04 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH 00/11] rework thread management Date: Thu, 7 Sep 2023 10:30:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87B81@smartserver.smartshare.dk> In-Reply-To: <20230906162226.1618088-1-thomas@monjalon.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 00/11] rework thread management Thread-Index: Adng3mCCiryt6NMASZCZSKGQBGOoaQAhqCJA References: <20230906162226.1618088-1-thomas@monjalon.net> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Thomas Monjalon" , Cc: "Tyler Retzlaff" , "David Marchand" , "Ferruh Yigit" 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 > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Wednesday, 6 September 2023 18.12 >=20 > The main effect of this patch series is to > remove calls to pthread functions except for pthread_cancel and locks. >=20 > The function rte_thread_create_control() does not take attributes = anymore > as it looks a useless complication of the API. Note for other reviewers: The "args" parameter, passed to the thread = function, is still there. > Then the rte_thread API is made stable, > so we can remove the old deprecated functions > rte_thread_setname() and rte_ctrl_thread_create(). >=20 > Some new internal functions are added in rte_thread to make sure > all internal thread names are prefixed with "dpdk-". >=20 > Few other cleanups are done. >=20 > Future work about pthread portability are about: > - cancel > - mutex >=20 >=20 > Thomas Monjalon (11): > devtools: warn when adding some pthread calls > eal: rename thread name length definition > eal: remove attributes from control thread creation > eal: promote thread API as stable > eal: force prefix for internal threads > lib: convert to internal control threads > drivers: convert to internal control threads > examples: convert to normal control threads > test: convert threads creation > eal: remove deprecated thread functions > lib: remove pthread.h from includes Thank you for cleaning all this up, Thomas. Series-acked-by: Morten Br=F8rup