133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
}
FDsCArray = [FDs cArray];
nFDs = [FDs count];
#ifdef OPEN_MAX
if (nFDs > OPEN_MAX)
@throw [OFOutOfRangeException exceptionWithClass: isa];
#endif
if (poll(FDsCArray, (nfds_t)nFDs, timeout) < 1) {
[pool release];
return NO;
}
|
|
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
}
FDsCArray = [FDs cArray];
nFDs = [FDs count];
#ifdef OPEN_MAX
if (nFDs > OPEN_MAX)
@throw [OFOutOfRangeException exceptionWithClass: [self class]];
#endif
if (poll(FDsCArray, (nfds_t)nFDs, timeout) < 1) {
[pool release];
return NO;
}
|