RTEMS | Draft: posix/aio: Implemented aio_suspend() (!275)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Mon Nov 11 09:43:11 UTC 2024
Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_suspend.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114698
> + current = (rtems_aio_request *) node;
> +
> + while ( !rtems_chain_is_tail( fd_chain, node ) && current->aiocbp != list[i] ) {
> + node = rtems_chain_next( node );
> + current = (rtems_aio_request *) node;
> + }
> +
> + if ( !rtems_chain_is_tail( fd_chain, node ) ){
> + if ( current->suspendcbp == NULL ) {
> + current->suspendcbp = suspendcbp;
> + }
> + suspendcbp->requests_left++;
> + }
> +
> + //REQUEST NOT PRESENT
> + continue;
done.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114698
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241111/c8ceecc9/attachment.htm>
More information about the bugs
mailing list