Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ACE/ace/POSIX_Proactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1502,9 +1502,11 @@ ACE_POSIX_AIOCB_Proactor::cancel_aio (ACE_HANDLE handle)
int
ACE_POSIX_AIOCB_Proactor::cancel_aiocb (ACE_POSIX_Asynch_Result * result)
{
ACE_ASSERT (result);

// This method is called from cancel_aio
// to cancel a previously submitted AIO request
int rc = ::aio_cancel (0, result);
int rc = ::aio_cancel (result->aio_fildes, result);

// Check the return value and return 0/1/2 appropriately.
if (rc == AIO_CANCELED)
Expand Down
Loading