ACE_TAO
ACE_TAO copied to clipboard
fix a bug in aio_cancel()
excerpt from the aio_cancel(3) manpage: ..."If aiocbp is not NULL, and fd differs from the file descriptor with which the asynchronous operation was initiated, unspecified results occur. ..."
I debugged this on Linux, and the call returns -1, setting errno to EINVAL.
This PR fixes that condition.
Summary by CodeRabbit
- Bug Fixes
- Enhanced async I/O operation cancellation to target specific operations more precisely, improving reliability of asynchronous operations.