On 5/8/2015 10:57 AM, Stephen Hemminger wrote:
> On Tue,  5 May 2015 13:39:38 +0800
> Cunming Liang <cunming.liang at intel.com> 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
[LCM] Thanks, you're right, when EINTR happens, shall continue 
epoll_wait instead of return.
Per EWOULDBLOCK, seems epoll_wait won't return it, so I assume your 
mention is about epoll event read.

Reply via email to