18 #ifdef OF_HAVE_SOCKETS 22 OF_ASSUME_NONNULL_BEGIN
25 #ifdef OF_HAVE_THREADS 29 #ifdef OF_HAVE_SOCKETS 42 #ifdef OF_HAVE_SOCKETS 47 #ifdef OF_HAVE_THREADS 50 #if defined(OF_HAVE_SOCKETS) 53 #elif defined(OF_HAVE_THREADS) 78 - (void)addTimer: (
OFTimer *)timer;
90 - (void)runUntilDate: (nullable
OFDate *)deadline;
void stop()
Stops the run loop. If there is still an operation being executed, it is finished before the run loop...
Definition: OFRunLoop.m:771
OFRunLoop * currentRunLoop()
Returns the run loop for the current thread.
Definition: OFRunLoop.m:346
A protocol that needs to be implemented by delegates for OFKernelEventObserver.
Definition: OFKernelEventObserver.h:28
An abstract class for storing and changing objects in a dictionary.
Definition: OFMutableDictionary.h:39
A class for creating mutual exclusions.
Definition: OFMutex.h:29
A class providing a run loop for the application and its processes.
Definition: OFRunLoop.h:41
OFRunLoop * mainRunLoop()
Returns the run loop for the main thread.
Definition: OFRunLoop.m:341
The root class for all other classes inside ObjFW.
Definition: OFObject.h:379
A class for storing, accessing and comparing dates.
Definition: OFDate.h:30
A class which provides easy to use sorted double-linked lists.
Definition: OFSortedList.h:29
A class that can observe multiple kernel events (e.g. streams being ready to read) at once...
Definition: OFKernelEventObserver.h:108
void run()
Starts the run loop.
Definition: OFRunLoop.m:652
A class for creating and firing timers.
Definition: OFTimer.h:44
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:28