From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v7 02/10] eal/linux: add rte_epoll_wait/ctl support Date: Thu, 7 May 2015 19:57:53 -0700 Message-ID: <20150507195753.24518cfd@urahara> References: <1425012976-10173-1-git-send-email-cunming.liang@intel.com> <1430804386-28949-1-git-send-email-cunming.liang@intel.com> <1430804386-28949-3-git-send-email-cunming.liang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Cunming Liang Return-path: Received: from mx0b-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [67.231.152.113]) by dpdk.org (Postfix) with ESMTP id 3ED6B56AB for ; Fri, 8 May 2015 04:57:51 +0200 (CEST) In-Reply-To: <1430804386-28949-3-git-send-email-cunming.liang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 5 May 2015 13:39:38 +0800 Cunming Liang wrote: > + else if (rc < 0) { > + /* epoll_wait fail */ > + RTE_LOG(ERR, EAL, "epoll_wait returns with fail %s\n", > + strerror(errno)); In real application there maybe other random signals. Therefore the code should ignore and return for case of EWOULDBLOCK and EINTR