Ignore:
Timestamp:
Apr 3, 2010, 5:55:59 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e24760ae
Parents:
394ac3c
Message:

Reflect POSIX sched_parm changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/psxtransschedparam.c

    r394ac3c r3bacb250  
    5050
    5151  if ( policy == SCHED_SPORADIC ) {
    52     if ( (param->ss_replenish_period.tv_sec == 0) &&
    53          (param->ss_replenish_period.tv_nsec == 0) )
     52    if ( (param->sched_ss_repl_period.tv_sec == 0) &&
     53         (param->sched_ss_repl_period.tv_nsec == 0) )
    5454      return EINVAL;
    5555
    56     if ( (param->ss_initial_budget.tv_sec == 0) &&
    57          (param->ss_initial_budget.tv_nsec == 0) )
     56    if ( (param->sched_ss_init_budget.tv_sec == 0) &&
     57         (param->sched_ss_init_budget.tv_nsec == 0) )
    5858      return EINVAL;
    5959
    60     if ( _Timespec_To_ticks( &param->ss_replenish_period ) <
    61          _Timespec_To_ticks( &param->ss_initial_budget ) )
     60    if ( _Timespec_To_ticks( &param->sched_ss_repl_period ) <
     61         _Timespec_To_ticks( &param->sched_ss_init_budget ) )
    6262      return EINVAL;
    6363
    64     if ( !_POSIX_Priority_Is_valid( param->ss_low_priority ) )
     64    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )
    6565      return EINVAL;
    6666
Note: See TracChangeset for help on using the changeset viewer.