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 32F29A0547; Mon, 30 Aug 2021 18:44:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F25154112E; Mon, 30 Aug 2021 18:44:58 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id CEFB741104 for ; Mon, 30 Aug 2021 18:44:57 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id s29so7822458pfw.5 for ; Mon, 30 Aug 2021 09:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FcFYEAjU2DmGkQZNB+pYIfrgG6PwOCisiZtKTdoDqDk=; b=AvInqCaqS3W68oUbyhGKWF4cUQjGBE9+y1NcvolazmFuJ8ABPxzmlnK9qyoMJnnm0j Q+Rt4q4VGsq79csLPREQ0lDTDIumx6Bl2eCLrMxZxi0+xZtXAX6znIzO6MW3htHz7AFE MR60d1+omOcs2T18YHxbB1XKnrrfVJWTlzwXrRI1KiFz3ba+wYWZ9Fy3bHWHQFYFpFnh hi+Qgj0lgAtTZ0YAGkM/sVnsyK0lKGfSgjbziPS1TMd7vtbzxw46i8yrjg8aTwXpD+ho RwdQVTnYjdkLxu1+9PhMsqZAig7IqlCsjRD93J/WxJ3oi7PcCcUyO3ZK3OCiwYYaha5y tJvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FcFYEAjU2DmGkQZNB+pYIfrgG6PwOCisiZtKTdoDqDk=; b=fiy0gr9ytKLfbtJGSABgFY2HLkkllgPNiekC7pri0x9/DWnvSCumwbQtLlEfZ6uX1N rpZ0vojjKJnUXB7N0FT6TO3Pc6vocmjCJRYsVy4plxkfkY0FcfGJGE47hYd1FfdawZs2 bFInpYwh8oXszHqgt9iSvubtY9MDn8l55BqmrfrGHWJ2Tfery1sEhkrUdIqOaSkJjzrI 3VGyigQWkFYOHpj2cFqxYSvPtCJRXmShDDqS35+lspSMfBiPBrTxligEWAIUBNICyJQN +7yS5dGFvaiZKDQ4rtztT8Ke3JHIPuMNkULAO7rhXQt8l1n+oNZE9MVPCysngDg3sbLP ZvBw== X-Gm-Message-State: AOAM532epGWzK01qnlIwkDj8p1AuqWplMTbVzo4ztLngkFJxCYNk/j/J dRKfHaA+HfpzxQjOZZbMP4eu2fEXZURugg== X-Google-Smtp-Source: ABdhPJy0QBA46t7dZte5MoOL6qgnXxHLivHk2NCZR4YgcFu5AqhWAi21UqYeRX9sxt4Tpq6FbA6Rsw== X-Received: by 2002:a05:6a00:d72:b0:3f7:7f03:6cfb with SMTP id n50-20020a056a000d7200b003f77f036cfbmr14878732pfv.1.1630341896949; Mon, 30 Aug 2021 09:44:56 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id y15sm6745290pfl.18.2021.08.30.09.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 09:44:56 -0700 (PDT) Date: Mon, 30 Aug 2021 09:44:53 -0700 From: Stephen Hemminger To: Honnappa Nagarahalli Cc: dev@dpdk.org, olivier.matz@6wind.com, lucp.at.work@gmail.com, david.marchand@redhat.com, thomas@monjalon.net, ruifeng.wang@arm.com, nd@arm.com Message-ID: <20210830094453.7c83e98c@hermes.local> In-Reply-To: <20210830163413.31576-1-honnappa.nagarahalli@arm.com> References: <20210730213709.19400-1-honnappa.nagarahalli@arm.com> <20210830163413.31576-1-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 1/2] eal: simplify the implementation of rte_ctrl_thread_create 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 Mon, 30 Aug 2021 11:34:12 -0500 Honnappa Nagarahalli wrote: > + /* Control thread status. > + * > + * _RTE_CTRL_THREAD_LAUNCHING - Yet to call pthread_create function > + * _RTE_CTRL_THREAD_RUNNING - Control thread is running successfully > + * _RTE_CTRL_THREAD_ERROR - Control thread encountered an error. > + * 'ret' has the error code. > + */ > + unsigned int ctrl_thread_status; An enum would be clearer here.