RTEMS | Draft: posix/aio: Implemented aio_suspend() (!275)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Mon Nov 4 20:20:26 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_114328
> + suspendcbp->requests_left = 0;
> + suspendcbp->task_id = rtems_task_self();
> + suspendcbp->notified = AIO_NONSIGNALED;
> +
> + /* LOCK REQUEST QUEUE */
> + pthread_mutex_lock( &aio_request_queue.mutex );
> +
> + /* ITERATE OVER EVERY REQUEST */
> + for ( int i = 0; i < nent; i++ ) {
> + if ( list[i] == NULL ) {
> + continue;
> + }
> +
> + r_chain = rtems_aio_search_fd( work_req_chain, list[i]->aio_fildes, 0 );
> + if ( r_chain != NULL ) {
> + //SEARCH IN CHAIN
corrected
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114328
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/20241104/2d5e8b4d/attachment.htm>
More information about the bugs
mailing list