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/pthread11.c

    r8442b4c7 r6481405e  
    3232  policy = SCHED_FIFO;
    3333  policy = SCHED_RR;
     34#ifdef _POSIX_SPORADIC_SERVER
     35  policy = SCHED_SPORADIC;
     36#endif
    3437
    3538  /*
     
    3841
    3942  param.sched_priority = 0;
     43#ifdef _POSIX_SPORADIC_SERVER
     44  param.ss_low_priority = 0;
     45  param.ss_replenish_period.tv_sec = 0;
     46  param.ss_replenish_period.tv_nsec = 0;
     47  param.ss_initial_budget.tv_sec = 0;
     48  param.ss_initial_budget.tv_nsec = 0;
     49#endif
    4050
    4151  result = pthread_setschedparam( thread, policy, &param );
Note: See TracChangeset for help on using the changeset viewer.