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

 > +        if ( current->suspendcbp == NULL ) {
 > +          current->suspendcbp = suspendcbp;
 > +        }
 > +        suspendcbp->requests_left++;
 > +      }
 > +
 > +      //REQUEST NOT PRESENT
 > +      continue;
 > +    }
 > +
 > +    //REQUEST NOT PRESENT
 > +  }
 > +
 > +  if ( suspendcbp->requests_left <= 0 ) {
 > +    pthread_mutex_unlock( &aio_request_queue.mutex );
 > +    free( suspendcbp );

right, added the unlock of `suspendcbp->mutex`;

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114330
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