ObjFW  History Of Ticket 31d9fb57cc

Artifacts Associated With Ticket 31d9fb57cc

  1. Ticket change [36fff07b23] (rid 31988) by js on 2020-06-22 00:37:54:

    1. icomment:
      <p><code>OFRunLoop</code> currently always uses <code>OFKernelEventObserver</code> if ObjFW is compiled with support for sockets and <code>OFKernelEventObserver</code> initializes the network in its <code>+[initialize]</code>. On some systems (e.g. Wii), initializing the network takes quite a while, resulting in quite a lengthy startup time when the main run loop is initialized.</p>
      
      <p>It would be much better to only initialize <code>OFKernelEventObserver</code> once a socket is added to the run loop, and always fall back to using conditions until a socket is added. At which point sockets are already initialized anyway and <code>select()</code> and similar are available.</p>
      
      <p>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.</p>
      
    2. login: "js"
    3. milestone initialized to: "1.0"
    4. mimetype: "text/html"
    5. priority initialized to: "Immediate"
    6. severity initialized to: "Important"
    7. status initialized to: "Open"
    8. title initialized to:
      OFRunLoop: Only use OFKernelEventObserver if we have sockets
      
    9. type initialized to: "Nice_To_Have"
  2. Ticket change [e2a3c3a64c] (rid 42339) by js on 2023-07-15 14:52:14:

    1. icomment:
      This has `Type: Nice_To_Have`, so shouldn't block the 1.0 release.
      
    2. login: "js"
    3. milestone changed to: "none"
    4. mimetype: "text/x-markdown"
    5. resolution changed to: "Open"
  3. Ticket change [9d9c760c6b] (rid 44437) by js on 2024-01-20 21:43:20:

    1. login: "js"
    2. milestone changed to: "1.1"
    3. mimetype: "text/x-markdown"
  4. Ticket change [7ca8506133] (rid 45718) by js on 2024-03-09 20:29:57:

    1. login: "js"
    2. milestone changed to: "1.2"
    3. mimetype: "text/x-markdown"