ObjFW  Diff

Differences From Artifact [1730eaf461]:

To Artifact [c69434c2e7]:


33
34
35
36
37
38
39

40
41
42
43
44
45
46
{
	OFSortedList *timersQueue;
#ifdef OF_HAVE_THREADS
	OFMutex *timersQueueLock;
#endif
	OFStreamObserver *streamObserver;
	OFMutableDictionary *readQueues;

}

/*!
 * @brief Returns the main run loop.
 *
 * @return The main run loop
 */







>







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFSortedList *timersQueue;
#ifdef OF_HAVE_THREADS
	OFMutex *timersQueueLock;
#endif
	OFStreamObserver *streamObserver;
	OFMutableDictionary *readQueues;
	BOOL running;
}

/*!
 * @brief Returns the main run loop.
 *
 * @return The main run loop
 */
97
98
99
100
101
102
103






104

- (void)OF_removeTimer: (OFTimer*)timer;

/*!
 * @brief Starts the run loop.
 */
- (void)run;






@end







>
>
>
>
>
>

98
99
100
101
102
103
104
105
106
107
108
109
110
111

- (void)OF_removeTimer: (OFTimer*)timer;

/*!
 * @brief Starts the run loop.
 */
- (void)run;

/*!
 * @brief Stops the run loop. If there is still an operation being executed, it
 *	  is finished before the run loop stops.
 */
- (void)stop;
@end