mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-22 10:02:33 +00:00
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user