Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_misc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114323 > } > } > > +void rtems_aio_completed_suspend_op( suspendcb *suspendcbp ) > +{ > + > + if ( suspendcbp == NULL ) > + return; > + > + pthread_mutex_lock( &suspendcbp->mutex ); > + --suspendcbp->requests_left; > + > + if ( suspendcbp->notified == AIO_NONSIGNALED ) { > + rtems_event_system_send( Sure. I refactored it adding a variable used to understand if I have to send an event after the critical section. Let me know if this version is better. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114323 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
