[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 066a43: For epoll aio, close and reopen the epoll fd in fo...
David T Lewis
noreply at github.com
Mon Feb 8 20:18:04 UTC 2021
Branch: refs/heads/dtl/epoll-forksqueak
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.
More information about the Vm-dev
mailing list