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)
97 - (
void)addTimer: (
OFTimer *)timer;
122 - (void)addExecSignal: (ULONG)signal target: (
id)target selector: (
SEL)selector;
139 - (void)addExecSignal: (ULONG)signal
142 selector: (
SEL)selector;
152 - (void)removeExecSignal: (ULONG)signal
154 selector: (
SEL)selector;
165 - (void)removeExecSignal: (ULONG)signal
168 selector: (
SEL)selector;
181 - (void)runUntilDate: (nullable
OFDate *)deadline;
191 beforeDate: (nullable
OFDate *)deadline;
200 OF_ASSUME_NONNULL_END
const of_run_loop_mode_t of_run_loop_mode_default
The default mode for an OFRunLoop.
Definition: OFRunLoop.m:46
OFConstantString * of_run_loop_mode_t
A mode for an OFRunLoop.
Definition: OFRunLoop.h:37
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:31
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:42
A class for storing, accessing and comparing dates.
Definition: OFDate.h:36
A class that can observe multiple kernel events (e.g. streams being ready to read) at once.
Definition: OFKernelEventObserver.h:119
An abstract class for storing and changing objects in a dictionary.
Definition: OFMutableDictionary.h:44
A class for creating mutual exclusions.
Definition: OFMutex.h:30
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
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