Skip to content
Snippets Groups Projects
  1. Jul 20, 2023
  2. Jul 19, 2023
    • Ben Gamari's avatar
      Bump array submodule to v0.5.6.0 · 68cc675d
      Ben Gamari authored
      68cc675d
    • Ben Gamari's avatar
      rts/win32: Ensure reliability of IO manager shutdown · ed28b0f2
      Ben Gamari authored
      When the Win32 threaded IO manager shuts down, `ioManagerDie` sends an
      `IO_MANAGER_DIE` event to the IO manager thread using the
      `io_manager_event` event object. Finally, it will closes the event object,
      and invalidate `io_manager_event`.
      
      Previously, `readIOManagerEvent` would see that `io_manager_event` is
      invalid and return `0`, suggesting that everything is right with the
      world. This meant that if `ioManagerDie` invalidated the handle before
      the event manager was blocked on the event we would end up in a
      situation where the event manager would never realize it was asked to
      shut down.
      
      Fix this by ensuring that `readIOManagerEvent` instead returns
      `IO_MANAGER_DIE` when we detect that the event object has been
      invalidated by `ioManagerDie`.
      
      Fixes #23691.
      ed28b0f2
    • Ben Gamari's avatar
      0d7a34c1
  3. Jul 13, 2023
  4. Jul 12, 2023
Loading