Hacker News new | past | comments | ask | show | jobs | submit login

> if the accept completes before the SQE for the cancellation is submitted, the FD will still be leaked.

If the accept completes before the cancel SQE is submitted, the cancel operation will fail and the runtime will have a chance to poll the CQE in place and close the fd.




Hmm, because the cancel CQE will have a reference to the CQE it was supposed to cancel? Yes, that could work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: