Gedare Bloom started a new discussion on 
testsuites/psxtests/psxmsgq_prio_wakeup/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1084#note_144117

 > +    printf( "mq_open failed: %s\n", strerror( errno ) );
 > +    goto cleanup_sems;
 > +  }
 > +
 > +  /* 3. Create low priority thread 1 (id=1) */
 > +  pthread_attr_init( &pattr );
 > +  pthread_attr_setinheritsched( &pattr, PTHREAD_EXPLICIT_SCHED );
 > +  pthread_attr_setschedpolicy( &pattr, SCHED_FIFO );
 > +  sparam.sched_priority = low_prio;
 > +  pthread_attr_setschedparam( &pattr, &sparam );
 > +  rc = pthread_create( &tid1, &pattr, receive_thread, &id1 );
 > +  if ( rc != 0 ) {
 > +    printf( "Failed to create thread 1: %s\n", strerror( rc ) );
 > +    goto cleanup;
 > +  }
 > +  usleep( 10000 );

do we need all these `usleep`? they make the test run longer.

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