RTEMS | Draft: cpukit/posix/aio*: Implemented lio_listio() (!188)

Alessandro Nardin (@AlessandroNardin) gitlab at rtems.org
Sun Sep 1 12:28:31 UTC 2024




Alessandro Nardin commented on a discussion on cpukit/posix/src/lio_listio.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111698

 > +    }
 > +
 > +    switch ( list[i]->aio_lio_opcode ) {
 > +      case LIO_READ:
 > +        req = init_read_req( list[i] );
 > +        if ( req == NULL ) {
 > +          error = 1;
 > +          list[i]->return_value = -1;
 > +          list[i]->error_code = errno;
 > +          list[i]->return_status = AIO_NOTRETURNED;
 > +          break;
 > +        }
 > +
 > +        req->listcbp = listcbp;
 > +        result = rtems_aio_enqueue( req );
 > +        if ( result != 0 ){

corrected

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111698
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/20240901/3390a17d/attachment-0001.htm>


More information about the bugs mailing list