[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:51:58 UTC 2021


> 
> 
> Isn't there a way to duplicate fd's on fork, so that the child can close them at will without harm?
> (haven't done fork/exec in a while, tho)

No, from what I understand, the file-descriptors are duped anyway (they are in the process space), but the file descriptions are shared (in the kernel space). The duped fd point to shared objects...
See https://copyconstruct.medium.com/the-method-to-epolls-madness-d9d2d6378642


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/550#issuecomment-770686787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210201/e2a1265a/attachment.html>


More information about the Vm-dev mailing list