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

 > +  op_num = suspendcbp->requests_left;
 > +
 > +  /* UNLOCK QUEUE AND SUSPENDCBP*/
 > +  pthread_mutex_unlock( &aio_request_queue.mutex );
 > +  pthread_mutex_unlock( &suspendcbp->mutex );
 > +
 > +  /* WAIT FOR EVENT */
 > +  if ( timeout == NULL ){
 > +    result = rtems_event_system_receive(
 > +      RTEMS_EVENT_SYSTEM_AIO_SUSPEND,
 > +      RTEMS_DEFAULT_OPTIONS,
 > +      RTEMS_NO_TIMEOUT,
 > +      &event_out
 > +    );
 > +  }else {
 > +    long ticks = rtems_timespec_to_ticks( timeout );

I had the call to `rtems_timespec_to_ticks` on another line for debugging 
purposes. If i put it below, in the call to `rtems_event_system_receive` do I 
need the cast?

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