[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] For epoll aio, close and reopen the epoll fd in forked child process (#552)

David T Lewis notifications at github.com
Mon Feb 8 20:24:59 UTC 2021


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.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552

-- Commit Summary --

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

-- File Changes --

    M platforms/unix/vm/aio.c (23)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.diff

-- 
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/552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210208/27a82dc5/attachment.html>


More information about the Vm-dev mailing list