Ignore:
Timestamp:
May 24, 1996, 2:16:24 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
abd604a
Parents:
8442b4c7
Message:

added use of sporadic server scheduling parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psxhdrs/sched01.c

    r8442b4c7 r6481405e  
    2828  pid = 0;
    2929
     30  /*
     31   *  really should use sched_get_priority_min() and sched_get_priority_max()
     32   */
     33
    3034  param.sched_priority = 0;
     35#ifdef _POSIX_SPORADIC_SERVER
     36  param.ss_low_priority = 0;
     37  param.ss_replenish_period.tv_sec = 0;
     38  param.ss_replenish_period.tv_nsec = 0;
     39  param.ss_initial_budget.tv_sec = 0;
     40  param.ss_initial_budget.tv_nsec = 0;
     41#endif
    3142
    3243  result = sched_setparam( pid, &param );
Note: See TracChangeset for help on using the changeset viewer.