ObjFW  Diff

Differences From Artifact [1d17371e17]:

To Artifact [0893597d95]:


400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
400
401
402
403
404
405
406

407

408
409
410
411
412
413
414







-

-







#endif

	[timer OF_setInRunLoop: self];

#if defined(OF_HAVE_SOCKETS)
	[_kernelEventObserver cancel];
#elif defined(OF_HAVE_THREADS)
	[_condition lock];
	[_condition signal];
	[_condition unlock];
#endif
}

- (void)OF_removeTimer: (OFTimer*)timer
{
#ifdef OF_HAVE_THREADS
	[_timersQueueLock lock];
811
812
813
814
815
816
817
818
819
820
821
822
823
809
810
811
812
813
814
815

816

817
818
819







-

-




- (void)stop
{
	_running = false;
#if defined(OF_HAVE_SOCKETS)
	[_kernelEventObserver cancel];
#elif defined(OF_HAVE_THREADS)
	[_condition lock];
	[_condition signal];
	[_condition unlock];
#endif
}
@end