24 # include <exec/types.h> 27 OF_ASSUME_NONNULL_BEGIN
32 #ifdef OF_HAVE_THREADS 36 #ifdef OF_HAVE_SOCKETS 64 OF_SUBCLASSING_RESTRICTED
68 #ifdef OF_HAVE_THREADS 75 #ifdef OF_HAVE_CLASS_PROPERTIES 76 @property (
class, readonly, nullable, nonatomic)
OFRunLoop *mainRunLoop;
77 @property (
class, readonly, nullable, nonatomic)
OFRunLoop *currentRunLoop;
79 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFRunLoopMode currentMode;
100 - (void)addTimer: (
OFTimer *)timer;
110 #if defined(OF_AMIGAOS) || defined(DOXYGEN) 125 - (void)addExecSignal: (ULONG)signal target: (
id)target selector: (
SEL)selector;
142 - (void)addExecSignal: (ULONG)signal
145 selector: (
SEL)selector;
155 - (void)removeExecSignal: (ULONG)signal
157 selector: (
SEL)selector;
168 - (void)removeExecSignal: (ULONG)signal
171 selector: (
SEL)selector;
184 - (void)runUntilDate: (nullable
OFDate *)deadline;
202 OF_ASSUME_NONNULL_END
A class for creating mutual exclusions.
Definition: OFMutex.h:36
A class for storing, accessing and comparing dates.
Definition: OFDate.h:33
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:41
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
A class which provides easy to use sorted double-linked lists.
Definition: OFSortedList.h:32
OFConstantString * OFRunLoopMode
A mode for an OFRunLoop.
Definition: OFRunLoop.h:41
A class for creating and firing timers.
Definition: OFTimer.h:48
An abstract class for storing and changing objects in a dictionary.
Definition: OFMutableDictionary.h:46
A class that can observe multiple kernel events (e.g. streams being ready to read) at once...
Definition: OFKernelEventObserver.h:114
A class providing a run loop for the application and its processes.
Definition: OFRunLoop.h:65
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:33
const OFRunLoopMode OFDefaultRunLoopMode
The default mode for an OFRunLoop.