ObjFW  Diff

Differences From Artifact [3185d7f56f]:

To Artifact [84cb722e01]:


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];
828
829
830
831
832
833
834
835
836
837
838
839
840
826
827
828
829
830
831
832

833

834
835
836







-

-




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