ObjFW  Diff

Differences From Artifact [5d7da15761]:

To Artifact [a5c17b66d7]:

  • File src/OFRunLoop.m — part of check-in [7a8a5a2995] at 2012-11-24 00:07:49 on branch trunk — -[OFSortedList addObject:] -> -[insertObject:].

    The rationale behind this is that otherwise, there are two methods
    called addObject: with a different signature, the one from
    OFMutableArray and the one from OFSortedList. As OFSortedList is
    actually using insertion sort and all other methods on an OFList start
    with insert anyway, this is also more consistent. (user: js, size: 12903) [annotate] [blame] [check-ins using]


287
288
289
290
291
292
293
294

295
296
297
298
299
300
301
287
288
289
290
291
292
293

294
295
296
297
298
299
300
301







-
+








	[super dealloc];
}

- (void)addTimer: (OFTimer*)timer
{
	@synchronized (timersQueue) {
		[timersQueue addObject: timer];
		[timersQueue insertObject: timer];
	}
	[streamObserver cancel];
}

- (void)streamIsReadyForReading: (OFStream*)stream
{
	OFList *queue = [readQueues objectForKey: stream];