Changeset 69ca55c0 in rtems


Ignore:
Timestamp:
Jul 6, 2009, 5:58:44 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
3ba0750
Parents:
630a2a6
Message:

2009-07-06 Joel Sherrill <joel.sherrill@…>

  • psx07/init.c: Slight test fix to ensure state of sched_param structure.
Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r630a2a6 r69ca55c0  
     12009-07-06      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * psx07/init.c: Slight test fix to ensure state of sched_param
     4        structure.
     5
    162009-07-04      Santosh G Vattam <vattam.santosh@gmail.com>
    27
  • testsuites/psxtests/psx07/init.c

    r630a2a6 r69ca55c0  
    505505  fatal_directive_check_status_only( status, EINVAL, "invalid priority" );
    506506
    507   schedparam.sched_priority = sched_get_priority_max(SCHED_OTHER);
     507  /* reset sched_param */
     508  status = pthread_getschedparam( pthread_self(), &schedpolicy, &schedparam );
     509  posix_service_failed( status, "pthread_getschedparam");
    508510
    509511  puts( "Init: pthread_setschedparam - EINVAL (invalid policy)" );
Note: See TracChangeset for help on using the changeset viewer.