mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
55ab694d79
commit
c79ebc93a2
@@ -1366,6 +1366,14 @@ namespace {
|
||||
errno = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
/* try again */
|
||||
bool const retry = (errno == EINTR
|
||||
|| errno == EAGAIN
|
||||
|| errno == EWOULDBLOCK);
|
||||
if (errno && retry)
|
||||
continue;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user