194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
|
* satisfy the required range, we just cast to int.
*/
#ifndef OF_WINDOWS
timeout.tv_sec = (time_t)timeInterval;
#else
timeout.tv_sec = (long)timeInterval;
#endif
timeout.tv_usec = (int)((timeInterval - timeout.tv_sec) * 1000);
#ifdef OF_AMIGAOS
if ((cancelSignal = AllocSignal(-1)) == (ULONG)-1)
@throw [OFObserveFailedException exceptionWithObserver: self
errNo: EAGAIN];
execSignalMask = _execSignalMask | (1ul << cancelSignal);
|
|
|
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
|
* satisfy the required range, we just cast to int.
*/
#ifndef OF_WINDOWS
timeout.tv_sec = (time_t)timeInterval;
#else
timeout.tv_sec = (long)timeInterval;
#endif
timeout.tv_usec = (int)((timeInterval - timeout.tv_sec) * 1000000);
#ifdef OF_AMIGAOS
if ((cancelSignal = AllocSignal(-1)) == (ULONG)-1)
@throw [OFObserveFailedException exceptionWithObserver: self
errNo: EAGAIN];
execSignalMask = _execSignalMask | (1ul << cancelSignal);
|