handles[nfd] = signal;
data[nth].signal = signal;
data[nth].thread = handle;
+ nfd++;
nth++;
}
else {
}
else if(fd == fileno(stdout)) {
handles[nfd] = GetStdHandle(STD_OUTPUT_HANDLE);
+ nfd++;
}
else if(fd == fileno(stderr)) {
handles[nfd] = GetStdHandle(STD_ERROR_HANDLE);
+ nfd++;
}
else {
wsaevent = WSACreateEvent();
if(FD_ISSET(wsasock, &exceptsock))
data[nfd].wsastate |= FD_OOB;
}
+ nfd++;
nws++;
}
else {
handles[nfd] = signal;
data[nth].signal = signal;
data[nth].thread = handle;
+ nfd++;
nth++;
}
else {
}
}
}
- nfd++;
}
}