|
|
@ -211,7 +211,7 @@ dopoll:
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fprintf(stderr,"Calling GetQueuedCompletionStatus %p...",io_comport);
|
|
|
|
fprintf(stderr,"Calling GetQueuedCompletionStatus %p...",io_comport);
|
|
|
|
if (GetQueuedCompletionStatus(io_comport,&numberofbytes,&x,&o,milliseconds==-1?milliseconds:INFINITE)) {
|
|
|
|
if (GetQueuedCompletionStatus(io_comport,&numberofbytes,&x,&o,milliseconds==-1?INFINITE:milliseconds)) {
|
|
|
|
io_entry* e=array_get(&io_fds,sizeof(io_entry),x);
|
|
|
|
io_entry* e=array_get(&io_fds,sizeof(io_entry),x);
|
|
|
|
fprintf(stderr," OK. Got %x, e=%p\n",x,e);
|
|
|
|
fprintf(stderr," OK. Got %x, e=%p\n",x,e);
|
|
|
|
if (!e) return 0;
|
|
|
|
if (!e) return 0;
|
|
|
|