Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_suspend.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114329

 > +      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;

I removed the `continue` around 144, the one on 122 needs to be there to avoid 
the second call to rtems_aio_search_fd.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114329
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to