<p></p>
<p>I suspect that for epoll, the rule should be never unregister the fd if you are also going to close the fd. This would be different from non-epoll event event handling, so possibly there would be a need for e.g. aioDisableAndClose(fd) in addition to the existing aioDisable(fd). Or maybe is it sufficient to just reopen the aiofd after a fork as suggested above.</p>

<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/550#issuecomment-774715140">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWYDEQSQNDWAEJD44A3S53FJ7ANCNFSM4W4DBPAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW3W242P2TBGVJD5VYTS53FJ7A5CNFSM4W4DBPA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFYWTOBA.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/550#issuecomment-774715140",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/550#issuecomment-774715140",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>