MITHILESH MATTAPALLI commented on a discussion on cpukit/posix/src/aio_suspend.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/955#note_147281 > } > > /* Control to ensure at least one operation completed */ > - for ( i = 0; i < nent; i++ ) { > - if ( list[ i ] != NULL && list[ i ]->error_code == EINPROGRESS ) { > - op_num--; > + pthread_mutex_lock( &aio_request_queue.mutex ); > + for ( i = 0; i < nent; i++) { > + if ( list[i] != NULL && list[i]->error_code == EINPROGRESS ) { > + op_num --; fixed it -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/955#note_147281 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
