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 6D90743C0C; Thu, 7 Mar 2024 17:48:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14FE24067E; Thu, 7 Mar 2024 17:48:58 +0100 (CET) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id E89BF40272 for ; Thu, 7 Mar 2024 17:48:56 +0100 (CET) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1dc0d11d1b7so9838065ad.2 for ; Thu, 07 Mar 2024 08:48:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709830136; x=1710434936; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=cwdTBUpH88Dm3JgJIn9KRB2SKxesSrXmsoFmcTKvJ68=; b=RHQ42JyeITJtD46TOMSlQTcDELfLfKxAsrwudiYvkrsJ2EU+5zWBmf8mSLFKlnyi/o eLkIWFtx0TKvlRi7F4dTPwMnfeUIghv/CRNvbJYEPGV6SCbpq9xMJP/SPqxmqndZ52JU lgrRttZoaI2JXb2yK0rXmgTLdRHQleyiZ0jqBF/8xs1PKd8P/koK6b5i/ch4llGEhjQx gqbdzhlhnzp6w6iW0UvdPy4IOkBEwel2Ion0tT8NATSAxAm8nGgEZBFxG4lT6ooEB98v 8aox/aKpSlH3bocADttPI+fIKbpRs26jwUaEK4pFec8n6Hnw1WHl6/sT1EO6VIU2yi1U PruQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709830136; x=1710434936; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cwdTBUpH88Dm3JgJIn9KRB2SKxesSrXmsoFmcTKvJ68=; b=MtWUA8lopk0MKSHaL7ozaqLjeBeX65tLdB5f3vQPun0LmH82Py0uYjFTFzs/gK84Pi zhSdVMeqgECwLLOqAykMdXtbyMwc1jBYNLpQSZvmjmulrwM6NMg+aeN35BuLZSNWcCy+ mhBwi1L5CG0EsjRio2lMyomhpsZWt1lV7wEXvcJ3H6dc0FVmbVvgoQqjh+IOnHzNkxqY /hxjzKSl22MX3ezchqOD3wm46rQh2ZK0xD2VuMyxtsmw1Ar+jEgSQEHg1KkxxvNKoKy6 Cass/3CvlhDeLCJzKOwmpMCwHaowLnz67ywvzYOUibX5J23uMzYChTJm8U08P1qdx1io gkLw== X-Gm-Message-State: AOJu0YxexGYV9De/38VQvLw/NYZZUv+X6AkYiLUtPBckzWIPykRCfyV5 Htu10+NM812087Pf2qgVggELRIyQJB3rLad8/ZGF2zqkcnsDy1Jn5UNG4HOKCEA= X-Google-Smtp-Source: AGHT+IFdQbu3xnZRzkIUDg+vgThGtY3NAL2w/5iC/tLhb5/+EO/yxagJC0sQxxg/EZCUDQUjZwJFmQ== X-Received: by 2002:a17:902:a9ca:b0:1dc:cc64:b3e0 with SMTP id b10-20020a170902a9ca00b001dccc64b3e0mr7904328plr.69.1709830136022; Thu, 07 Mar 2024 08:48:56 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id b10-20020a170903228a00b001dcb4ae9563sm14832985plh.33.2024.03.07.08.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 08:48:55 -0800 (PST) Date: Thu, 7 Mar 2024 08:48:53 -0800 From: Stephen Hemminger To: Rahul Bhansali Cc: , Kirill Rybalchenko Subject: Re: [PATCH] examples/ptpclient: add signal handler for cleanup Message-ID: <20240307084853.41dfbe89@hermes.local> In-Reply-To: <20220831064925.2580881-1-rbhansali@marvell.com> References: <20220831064925.2580881-1-rbhansali@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Wed, 31 Aug 2022 12:19:24 +0530 Rahul Bhansali wrote: > This adds the signal handler for SIGINT, SIGTERM. > Also, this will come out from infinite loop and do cleanup once it receives > any of the registered signal. > > Signed-off-by: Rahul Bhansali Acked-by: Stephen Hemminger