[OpenSmalltalk/opensmalltalk-vm] cc3dd1: In forgetXDisplay() do not call aioDisable() for t...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] cc3dd1: In forgetXDisplay() do not call aioDisable() for t...

Eliot Miranda-3
 
  Branch: refs/heads/dtl/aio-forksqueak
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: cc3dd188b692270c268dffad44a8a6268ec1ae47
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/cc3dd188b692270c268dffad44a8a6268ec1ae47
  Author: David T. Lewis <[hidden email]>
  Date:   2021-01-31 (Sun, 31 Jan 2021)

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

  Log Message:
  -----------
  In forgetXDisplay() do not call aioDisable() for the socket connection
to the X11 server if Linux epoll event handling is being used, because
forgetXDisplay() is typically called after a fork(). With epoll event
handling the shared fd reference affects both parent and child badly.