14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-
-
|
* file.
*/
#include "config.h"
#define __NO_EXT_QNX
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#import "OFStreamObserver.h"
#import "OFStreamObserver+Private.h"
#import "OFArray.h"
|
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
-
+
-
-
+
-
-
+
-
-
+
-
|
}
[self cancel];
}
- (void)OF_addFileDescriptorForReading: (int)fd
{
[self doesNotRecognizeSelector: _cmd];
OF_UNRECOGNIZED_SELECTOR
abort();
}
- (void)OF_addFileDescriptorForWriting: (int)fd
{
[self doesNotRecognizeSelector: _cmd];
OF_UNRECOGNIZED_SELECTOR
abort();
}
- (void)OF_removeFileDescriptorForReading: (int)fd
{
[self doesNotRecognizeSelector: _cmd];
OF_UNRECOGNIZED_SELECTOR
abort();
}
- (void)OF_removeFileDescriptorForWriting: (int)fd
{
[self doesNotRecognizeSelector: _cmd];
OF_UNRECOGNIZED_SELECTOR
abort();
}
- (void)OF_processQueue
{
#ifdef OF_HAVE_THREADS
[_mutex lock];
#endif
|
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
|
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
|
-
+
-
|
- (void)observe
{
[self observeForTimeInterval: -1];
}
- (bool)observeForTimeInterval: (double)timeInterval
{
[self doesNotRecognizeSelector: _cmd];
OF_UNRECOGNIZED_SELECTOR
abort();
}
- (bool)observeUntilDate: (OFDate*)date
{
return [self observeForTimeInterval: [date timeIntervalSinceNow]];
}
|