1
1

If we check for errors then let's check all of them.

This commit was SVN r5683.
Этот коммит содержится в:
George Bosilca 2005-05-11 04:26:14 +00:00
родитель f9ae5a282e
Коммит 9bd4110bb5

Просмотреть файл

@ -228,11 +228,9 @@ poll_dispatch(void *arg, struct timeval *tv)
res = 0;
/* If the file gets closed notify */
if (what & POLLHUP)
/* If the file gets closed notify or any badness happend */
if (what & (POLLHUP | POLLERR | POLLNVAL))
what |= POLLIN|POLLOUT;
if (what & POLLERR)
what |= POLLIN|POLLOUT;
if (what & POLLIN)
res |= OMPI_EV_READ;
if (what & POLLOUT)