Changeset 2ffcc2ed in rtems for c/src/tests/psxtests/psx12


Ignore:
Timestamp:
09/06/96 15:17:39 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f29032c
Parents:
7fea679b
Message:

modified test to take into account change in default value of
inheritsched pthread attribute from implicit to explicit scheduling
parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx12/init.c

    r7fea679b r2ffcc2ed  
    5959  assert( !status );
    6060
     61  status = pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
     62  assert( !status );
    6163  attr.schedpolicy = -1;
    6264
     
    8688  assert( !status );
    8789
     90  status = pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
     91  assert( !status );
     92 
    8893  puts( "Init: pthread_create - EINVAL (replenish < budget)" );
    8994  status = pthread_create( &Task_id, &attr, Task_1, NULL );
Note: See TracChangeset for help on using the changeset viewer.