[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] In forgetXDisplay() do not call aioDisable() for the socket connection (#550)

Nicolas Cellier notifications at github.com
Mon Feb 1 08:33:19 UTC 2021

IMO, not a good fix.
The fact the the epoll structure is shared between parent and childs (forked) process is a problem not only for the X11 socket connection, but for ALL the polled fd.
We shall close the epoll fd and re-create it in the forked vm.
Probably, we should use a close-on-exec flag for epoll `epoll_create1(EPOLL_CLOEXEC )`, so as to protect from accidental sharing, unless someone foresee a good scenario for sharing epoll fd (I fail to see one).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210201/77f7a830/attachment.html>

More information about the Vm-dev mailing list