20 # include <exec/types.h>
23 OF_ASSUME_NONNULL_BEGIN
28 #ifdef OF_HAVE_THREADS
32 #ifdef OF_HAVE_SOCKETS
60 OF_SUBCLASSING_RESTRICTED
64 #ifdef OF_HAVE_THREADS
71 #ifdef OF_HAVE_CLASS_PROPERTIES
72 @property (
class, readonly, nullable, nonatomic)
OFRunLoop *mainRunLoop;
73 @property (
class, readonly, nullable, nonatomic)
OFRunLoop *currentRunLoop;
75 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFRunLoopMode currentMode;
96 - (void)addTimer: (
OFTimer *)timer;
106 #if defined(OF_AMIGAOS) || defined(DOXYGEN)
121 - (void)addExecSignal: (ULONG)signal target: (
id)target selector: (
SEL)selector;
138 - (void)addExecSignal: (ULONG)signal
141 selector: (
SEL)selector;
151 - (void)removeExecSignal: (ULONG)signal
153 selector: (
SEL)selector;
164 - (void)removeExecSignal: (ULONG)signal
167 selector: (
SEL)selector;
180 - (void)runUntilDate: (nullable
OFDate *)deadline;
198 OF_ASSUME_NONNULL_END
const OFRunLoopMode OFDefaultRunLoopMode
The default mode for an OFRunLoop.
OFConstantString * OFRunLoopMode
A mode for an OFRunLoop.
Definition: OFRunLoop.h:37
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:30
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:38
A class for storing, accessing and comparing dates.
Definition: OFDate.h:30
A class that can observe multiple kernel events (e.g. streams being ready to read) at once.
Definition: OFKernelEventObserver.h:118
An abstract class for storing and changing objects in a dictionary.
Definition: OFMutableDictionary.h:44
A class for creating mutual exclusions.
Definition: OFMutex.h:34
The root class for all other classes inside ObjFW.
Definition: OFObject.h:688
A class providing a run loop for the application and its processes.
Definition: OFRunLoop.h:62
A class which provides easy to use sorted double-linked lists.
Definition: OFSortedList.h:32
A class for creating and firing timers.
Definition: OFTimer.h:46