Changeset 1d61610 in rtems


Ignore:
Timestamp:
Apr 18, 1997, 6:39:01 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
971cd22
Parents:
59097e7
Message:

Modified to reflect change from 255 posix priority levels to 254.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx01/psx01.scn

    r59097e7 r1d61610  
    2525Init: sched_get_priority_min (SCHED_FIFO) -- 1
    2626Init: sched_get_priority_min -- EINVAL (invalid policy)
    27 Init: sched_get_priority_max (SCHED_FIFO) -- 255
     27Init: sched_get_priority_max (SCHED_FIFO) -- 254
    2828Init: sched_get_priority_min -- EINVAL (invalid policy)
    2929Init: Round Robin quantum is 0 seconds, 500000000 nanoseconds
  • c/src/tests/psxtests/psx05/init.c

    r59097e7 r1d61610  
    429429  /* set priority of Task2 to highest priority */
    430430 
    431   param.sched_priority = 255;
     431  param.sched_priority = 254;
    432432 
    433433  puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" );
     
    551551  /* set priority of Init to highest priority */
    552552 
    553   param.sched_priority = 255;
     553  param.sched_priority = 254;
    554554 
    555555  status = pthread_setschedparam( Init_id, SCHED_FIFO, &param );
  • c/src/tests/psxtests/psx05/psx05.scn

    r59097e7 r1d61610  
    44Init: pthread_mutexattr_init - SUCCESSFUL
    55Init: mutex protocol is (0) -- PTHREAD_PRIO_NONE
    6 Init: mutex priority ceiling is 255
     6Init: mutex priority ceiling is 254
    77Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
    88Init: pthread_mutexattr_destroy - SUCCESSFUL
     
    7676Init: pthread_setschedparam - Setting Task2 priority to highest
    7777Task 2: pthread_mutex_lock unavailable (inherit case)
    78 Init: pthread_getschedparam - priority = 255
     78Init: pthread_getschedparam - priority = 254
    7979Init: pthread_mutex_unlock - SUCCESSFUL
    8080Task 2: mutex acquired
     
    8989Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
    9090Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
    91 Init: pthread_mutex_getprioceiling - 255
     91Init: pthread_mutex_getprioceiling - 254
    9292Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
    9393Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
  • testsuites/psxtests/psx01/psx01.scn

    r59097e7 r1d61610  
    2525Init: sched_get_priority_min (SCHED_FIFO) -- 1
    2626Init: sched_get_priority_min -- EINVAL (invalid policy)
    27 Init: sched_get_priority_max (SCHED_FIFO) -- 255
     27Init: sched_get_priority_max (SCHED_FIFO) -- 254
    2828Init: sched_get_priority_min -- EINVAL (invalid policy)
    2929Init: Round Robin quantum is 0 seconds, 500000000 nanoseconds
  • testsuites/psxtests/psx05/init.c

    r59097e7 r1d61610  
    429429  /* set priority of Task2 to highest priority */
    430430 
    431   param.sched_priority = 255;
     431  param.sched_priority = 254;
    432432 
    433433  puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" );
     
    551551  /* set priority of Init to highest priority */
    552552 
    553   param.sched_priority = 255;
     553  param.sched_priority = 254;
    554554 
    555555  status = pthread_setschedparam( Init_id, SCHED_FIFO, &param );
  • testsuites/psxtests/psx05/psx05.scn

    r59097e7 r1d61610  
    44Init: pthread_mutexattr_init - SUCCESSFUL
    55Init: mutex protocol is (0) -- PTHREAD_PRIO_NONE
    6 Init: mutex priority ceiling is 255
     6Init: mutex priority ceiling is 254
    77Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
    88Init: pthread_mutexattr_destroy - SUCCESSFUL
     
    7676Init: pthread_setschedparam - Setting Task2 priority to highest
    7777Task 2: pthread_mutex_lock unavailable (inherit case)
    78 Init: pthread_getschedparam - priority = 255
     78Init: pthread_getschedparam - priority = 254
    7979Init: pthread_mutex_unlock - SUCCESSFUL
    8080Task 2: mutex acquired
     
    8989Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
    9090Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
    91 Init: pthread_mutex_getprioceiling - 255
     91Init: pthread_mutex_getprioceiling - 254
    9292Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
    9393Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
Note: See TracChangeset for help on using the changeset viewer.