<p>Factor the epoll initiation out of aioInit into new epollInit function<br>
and invoke it via pthread_atfork in the child process after a fork.<br>
Prevents misdelivery of events from the common kernel epoll structures.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>For epoll aio, close and reopen the epoll fd in forked child process</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552/files#diff-4a831f2e78c0efb8206405d029fbaa5e30135e02bca71e49274de70369bf2ada">platforms/unix/vm/aio.c</a>
    (23)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.patch'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.patch</a></li>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.diff'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWZTK5QA5IO3QONI6ZTS6BCBXANCNFSM4XJVF3KA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW7SP4GHAJL7LYEIHVDS6BCBXA5CNFSM4XJVF3KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4L7KYGTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/552",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>