2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
This commit is contained in:
parent
49400d0eab
commit
b0898d85cd
|
@ -180,6 +180,14 @@ do_test (void)
|
|||
puts ("aio_suspend([done,blocked],2,3) suspended thread");
|
||||
++result;
|
||||
}
|
||||
|
||||
/* Cancel i/o on cb1. */
|
||||
r = aio_cancel (piped[0], &cb1);
|
||||
if (r != AIO_CANCELED)
|
||||
{
|
||||
puts ("aio_cancel did not return AIO_CANCELED");
|
||||
++result;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue