Windows I/O attempted fix
parent
10a4216311
commit
0090e613d9
|
@ -64,9 +64,11 @@ M: winnt add-completion ( win32-handle -- )
|
||||||
|
|
||||||
: handle-overlapped ( timeout -- ? )
|
: handle-overlapped ( timeout -- ? )
|
||||||
wait-for-overlapped [
|
wait-for-overlapped [
|
||||||
>r drop GetLastError
|
dup [
|
||||||
[ 1array ] [ expected-io-error? ] bi
|
>r drop GetLastError 1array r> resume-callback t
|
||||||
[ r> 2drop f ] [ r> resume-callback t ] if
|
] [
|
||||||
|
2drop f
|
||||||
|
] if
|
||||||
] [
|
] [
|
||||||
resume-callback t
|
resume-callback t
|
||||||
] if ;
|
] if ;
|
||||||
|
|
Loading…
Reference in New Issue