ObjFW  Diff

Differences From Artifact [f36d27a475]:

To Artifact [acc1d91474]:


365
366
367
368
369
370
371


372
373




374
375
376
377
378
379
380
365
366
367
368
369
370
371
372
373


374
375
376
377
378
379
380
381
382
383
384







+
+
-
-
+
+
+
+







			break;
		}
#ifdef OF_HAVE_BLOCKS
	}
#endif

	[condition lock];
	@try {
		done = YES;
	[condition signal];
	[condition unlock];
		[condition signal];
	} @finally {
		[condition unlock];
	}

	if (repeats && isValid) {
		OFDate *old = fireDate;
		fireDate = [[OFDate alloc]
		    initWithTimeIntervalSinceNow: interval];
		[old release];

402
403
404
405
406
407
408






409
410
411





412
406
407
408
409
410
411
412
413
414
415
416
417
418



419
420
421
422
423
424







+
+
+
+
+
+
-
-
-
+
+
+
+
+

{
	return isValid;
}

- (void)waitUntilDone
{
	[condition lock];
	@try {
		if (done) {
			done = NO;
			return;
		}

	[condition wait];
	[condition unlock];
}
		[condition wait];
	} @finally {
		[condition unlock];
	}
}
@end