mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 12:16:44 +02:00
waitCompletion retry on EINTR
This commit is contained in:
parent
61cde40000
commit
385851de40
@ -21,7 +21,7 @@ const (
|
||||
func waitCompletion(ring *C.go_uring) (n, idx int, err error) {
|
||||
for {
|
||||
r := C.completion(ring, blockForCompletion)
|
||||
if syscall.Errno(-r.err) == syscall.EAGAIN {
|
||||
if syscall.Errno(-r.err) == syscall.EAGAIN || syscall.Errno(-r.err) == syscall.EINTR {
|
||||
continue
|
||||
}
|
||||
var err error
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user