[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 066a43: For epoll aio, close and reopen the epoll fd in fo...

David T Lewis noreply at github.com
Fri Jul 23 22:47:13 UTC 2021


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 066a43128584d55964f4a6ace4b2c878cf96087e
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/066a43128584d55964f4a6ace4b2c878cf96087e
  Author: David T. Lewis <lewis at mail.msen.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M platforms/unix/vm/aio.c

  Log Message:
  -----------
  For epoll aio, close and reopen the epoll fd in forked child process
Factor the epoll initiation out of aioInit into new epollInit function
and invoke it via pthread_atfork in the child process after a fork.
Prevents misdelivery of events from the common kernel epoll structures.


  Commit: 8996e9691f97e9f8b4f0c3460737ba484a7527db
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8996e9691f97e9f8b4f0c3460737ba484a7527db
  Author: David T. Lewis <lewis at mail.msen.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M platforms/unix/vm-display-X11/sqUnixX11.c

  Log Message:
  -----------
  Rearrange disconnectXDisplay and forgetXDisplay to give clean shutdown
with epoll event handling. Fixes a spurious console error message on
image exit.


  Commit: 118a02c69f3e4c8c29e8ba867a78bd39f9a53cb4
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/118a02c69f3e4c8c29e8ba867a78bd39f9a53cb4
  Author: David T Lewis <dtlewis290 at gmail.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M platforms/unix/vm-display-X11/sqUnixX11.c
    M platforms/unix/vm/aio.c

  Log Message:
  -----------
  Merge pull request #552 from OpenSmalltalk/dtl/epoll-forksqueak

For epoll aio, close and reopen the epoll fd in forked child process


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/26815efb1479...118a02c69f3e


More information about the Vm-dev mailing list