Differences From Artifact [15425300f6]:
- File
src/OFKernelEventObserver.h
— part of check-in
[ff3a60cc12]
at
2024-04-28 08:36:55
on branch trunk
— Use @synchronized over OFMutex in a few places
These places are not super performance critical and the code becomes a
lot more readable.Actually using @synchronized in ObjFW itself is also a good motivation
to optimize it further. (user: js, size: 7913) [annotate] [blame] [check-ins using] [more...]
To Artifact [4a3d1a5b32]:
- File src/OFKernelEventObserver.h — part of check-in [164f2fb4bf] at 2024-06-17 21:08:05 on branch trunk — Always use <ObjFW/ObjFW.h> in documentation (user: js, size: 7820) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | OF_ASSUME_NONNULL_BEGIN @class OFMutableArray OF_GENERIC(ObjectType); @class OFDate; @class OFMutableData; /** | | < | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | OF_ASSUME_NONNULL_BEGIN @class OFMutableArray OF_GENERIC(ObjectType); @class OFDate; @class OFMutableData; /** * @protocol OFKernelEventObserverDelegate OFKernelEventObserver.h ObjFW/ObjFW.h * * @brief A protocol that needs to be implemented by delegates for * OFKernelEventObserver. */ @protocol OFKernelEventObserverDelegate <OFObject> @optional /** |
︙ | ︙ | |||
72 73 74 75 76 77 78 | * @note This is only available on AmigaOS! */ - (void)execSignalWasReceived: (ULONG)signalMask; #endif @end /** | | < | < | < | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | * @note This is only available on AmigaOS! */ - (void)execSignalWasReceived: (ULONG)signalMask; #endif @end /** * @protocol OFReadyForReadingObserving OFKernelEventObserver.h ObjFW/ObjFW.h * * @brief This protocol is implemented by classes which can be observed for * readiness for reading by OFKernelEventObserver. */ @protocol OFReadyForReadingObserving <OFObject> /** * @brief The file descriptor for reading that should be checked by the * OFKernelEventObserver. */ @property (readonly, nonatomic) int fileDescriptorForReading; @end /** * @protocol OFReadyForWritingObserving OFKernelEventObserver.h ObjFW/ObjFW.h * * @brief This protocol is implemented by classes which can be observed for * readiness for writing by OFKernelEventObserver. */ @protocol OFReadyForWritingObserving <OFObject> /** * @brief The file descriptor for writing that should be checked by the * OFKernelEventObserver. */ @property (readonly, nonatomic) int fileDescriptorForWriting; @end #ifdef OF_HAVE_SOCKETS /** * @class OFKernelEventObserver OFKernelEventObserver.h ObjFW/ObjFW.h * * @brief A class that can observe multiple kernel events (e.g. streams being * ready to read) at once. * * @note Currently, Win32 can only observe TCP and UDP sockets! */ @interface OFKernelEventObserver: OFObject |
︙ | ︙ |