| ... | @@ -466,8 +466,9 @@ pub const Loop = struct { | ... | @@ -466,8 +466,9 @@ pub const Loop = struct { |
| 466 | .revents = undefined, | 466 | .revents = undefined, |
| 467 | }}; | 467 | }}; |
| 468 | _ = os.poll(&pfd, -1) catch |poll_err| switch (poll_err) { | 468 | _ = os.poll(&pfd, -1) catch |poll_err| switch (poll_err) { |
| | 469 | error.NetworkSubsystemFailed => unreachable, // only possible on windows |
| | 470 | |
| 469 | error.SystemResources, | 471 | error.SystemResources, |
| 470 | error.NetworkSubsystemFailed, | | |
| 471 | error.Unexpected, | 472 | error.Unexpected, |
| 472 | => { | 473 | => { |
| 473 | // Even poll() didn't work. The best we can do now is sleep for a | 474 | // Even poll() didn't work. The best we can do now is sleep for a |