Re: [dpdk-dev] [PATCH v2] eal/interrupts: add function to allow interruptible epoll

2020-10-19 Thread Thomas Monjalon
04/09/2020 01:28, Stephen Hemminger: > The existing definition of rte_epoll_wait retries if interrupted > by a signal. This behavior makes it hard to use rte_epoll_wait > for applications that want to use signals do do things like > exit polling loop and shutdown. > > Since changing existing seman

Re: [dpdk-dev] [PATCH v2] eal/interrupts: add function to allow interruptible epoll

2020-09-14 Thread Stephen Hemminger
On Mon, 14 Sep 2020 10:56:33 +0200 David Marchand wrote: > On Fri, Sep 4, 2020 at 1:28 AM Stephen Hemminger > wrote: > > > > The existing definition of rte_epoll_wait retries if interrupted > > by a signal. This behavior makes it hard to use rte_epoll_wait > > for applications that want to use s

Re: [dpdk-dev] [PATCH v2] eal/interrupts: add function to allow interruptible epoll

2020-09-14 Thread David Marchand
On Fri, Sep 4, 2020 at 1:28 AM Stephen Hemminger wrote: > > The existing definition of rte_epoll_wait retries if interrupted > by a signal. This behavior makes it hard to use rte_epoll_wait > for applications that want to use signals do do things like > exit polling loop and shutdown. > > Since ch

[dpdk-dev] [PATCH v2] eal/interrupts: add function to allow interruptible epoll

2020-09-03 Thread Stephen Hemminger
The existing definition of rte_epoll_wait retries if interrupted by a signal. This behavior makes it hard to use rte_epoll_wait for applications that want to use signals do do things like exit polling loop and shutdown. Since changing existing semantic might break applications, add a new rte_epoll