diff options
author | Craig Tiller <ctiller@google.com> | 2016-05-18 07:25:50 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-05-18 07:25:50 -0700 |
commit | f66c374d511e55fdb28dd9c7dfb0e0e2318cb5c4 (patch) | |
tree | f62aac19ca67eed3cad851d49ec61159b2e40df1 /src/core/lib/iomgr | |
parent | 51d5aa73a09b128be1fc5f07a5e2270ac738b23b (diff) |
Fix openloop test
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/wakeup_fd_eventfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/wakeup_fd_eventfd.c b/src/core/lib/iomgr/wakeup_fd_eventfd.c index 3ece30adf6..667b4a5f90 100644 --- a/src/core/lib/iomgr/wakeup_fd_eventfd.c +++ b/src/core/lib/iomgr/wakeup_fd_eventfd.c @@ -60,7 +60,7 @@ static grpc_error* eventfd_consume(grpc_wakeup_fd* fd_info) { do { err = eventfd_read(fd_info->read_fd, &value); } while (err < 0 && errno == EINTR); - if (err < 0) { + if (err < 0 && errno != EAGAIN) { return GRPC_OS_ERROR(errno, "eventfd_read"); } return GRPC_ERROR_NONE; |