diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-03 06:07:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-03 06:07:24 +0000 |
commit | 66c9ad8692d26e3a44ee958ed1731472b52a8432 (patch) | |
tree | c9226fdc5a5658ef7a57e1c4cd18e55025cc0c9c /testsuites/psxtests/psxhdrs | |
parent | 2010-04-03 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-66c9ad8692d26e3a44ee958ed1731472b52a8432.tar.bz2 |
Reflect POSIX changes to sched_param.
Diffstat (limited to 'testsuites/psxtests/psxhdrs')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread11.c | 10 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread22.c | 10 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched01.c | 10 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched03.c | 10 |
4 files changed, 20 insertions, 20 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread11.c b/testsuites/psxtests/psxhdrs/pthread11.c index 8ccf2d018c..bc0eb7dd6e 100644 --- a/testsuites/psxtests/psxhdrs/pthread11.c +++ b/testsuites/psxtests/psxhdrs/pthread11.c @@ -42,11 +42,11 @@ void test( void ) param.sched_priority = 0; #ifdef _POSIX_SPORADIC_SERVER - param.ss_low_priority = 0; - param.ss_replenish_period.tv_sec = 0; - param.ss_replenish_period.tv_nsec = 0; - param.ss_initial_budget.tv_sec = 0; - param.ss_initial_budget.tv_nsec = 0; + param.sched_ss_low_priority = 0; + param.sched_ss_repl_period.tv_sec = 0; + param.sched_ss_repl_period.tv_nsec = 0; + param.sched_ss_init_budget.tv_sec = 0; + param.sched_ss_init_budget.tv_nsec = 0; #endif result = pthread_setschedparam( thread, policy, ¶m ); diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread22.c index 74bf2252d1..ba15472256 100644 --- a/testsuites/psxtests/psxhdrs/pthread22.c +++ b/testsuites/psxtests/psxhdrs/pthread22.c @@ -40,11 +40,11 @@ void test( void ) param.sched_priority = 0; #ifdef _POSIX_SPORADIC_SERVER - param.ss_low_priority = 0; - param.ss_replenish_period.tv_sec = 0; - param.ss_replenish_period.tv_nsec = 0; - param.ss_initial_budget.tv_sec = 0; - param.ss_initial_budget.tv_nsec = 0; + param.sched_ss_low_priority = 0; + param.sched_ss_repl_period.tv_sec = 0; + param.sched_ss_repl_period.tv_nsec = 0; + param.sched_ss_init_budget.tv_sec = 0; + param.sched_ss_init_budget.tv_nsec = 0; #endif result = pthread_setschedparam( thread, policy, ¶m ); diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c index aa862c99b1..44b1c8e01b 100644 --- a/testsuites/psxtests/psxhdrs/sched01.c +++ b/testsuites/psxtests/psxhdrs/sched01.c @@ -34,11 +34,11 @@ void test( void ) param.sched_priority = 0; #ifdef _POSIX_SPORADIC_SERVER - param.ss_low_priority = 0; - param.ss_replenish_period.tv_sec = 0; - param.ss_replenish_period.tv_nsec = 0; - param.ss_initial_budget.tv_sec = 0; - param.ss_initial_budget.tv_nsec = 0; + param.sched_ss_low_priority = 0; + param.sched_ss_repl_period.tv_sec = 0; + param.sched_ss_repl_period.tv_nsec = 0; + param.sched_ss_init_budget.tv_sec = 0; + param.sched_ss_init_budget.tv_nsec = 0; #endif result = sched_setparam( pid, ¶m ); diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c index e860d0e52c..ba4dccf1b8 100644 --- a/testsuites/psxtests/psxhdrs/sched03.c +++ b/testsuites/psxtests/psxhdrs/sched03.c @@ -42,11 +42,11 @@ void test( void ) param.sched_priority = 0; #ifdef _POSIX_SPORADIC_SERVER - param.ss_low_priority = 0; - param.ss_replenish_period.tv_sec = 0; - param.ss_replenish_period.tv_nsec = 0; - param.ss_initial_budget.tv_sec = 0; - param.ss_initial_budget.tv_nsec = 0; + param.sched_ss_low_priority = 0; + param.sched_ss_repl_period.tv_sec = 0; + param.sched_ss_repl_period.tv_nsec = 0; + param.sched_ss_init_budget.tv_sec = 0; + param.sched_ss_init_budget.tv_nsec = 0; #endif result = sched_setscheduler( pid, policy, ¶m ); |