@@ -118,11 +118,11 @@ { [self OF_removeFileDescriptor: fd withEvents: POLLOUT]; } -- (bool)observeWithTimeout: (double)timeout +- (bool)observeForTimeInterval: (double)timeInterval { void *pool = objc_autoreleasePoolPush(); struct pollfd *FDs; size_t i, nFDs, realEvents = 0; @@ -142,11 +142,11 @@ if (nFDs > OPEN_MAX) @throw [OFOutOfRangeException exceptionWithClass: [self class]]; #endif if (poll(FDs, (nfds_t)nFDs, - (int)(timeout != -1 ? timeout * 1000 : -1)) < 1) + (int)(timeInterval != -1 ? timeInterval * 1000 : -1)) < 1) return false; for (i = 0; i < nFDs; i++) { pool = objc_autoreleasePoolPush();