|OFRunLoop: Only use OFKernelEventObserver if we have sockets
|Version Found In:
js added on 2020-06-22 00:37:54:
It would be much better to only initialize
This could even be improved further on some systems by asynchronously initializing sockets: Sockets initialization could be started asynchronously early on, and the synchronous sockets initialization used by many classes could then just wait for the async initialization to be done. This would allow to have all non-socket code running without delay, and possibly sockets already being initialized by the time the application wants to use them, instead of only starting initialization once the application wants to use sockets.
js added on 2023-07-15 14:52:14: