diff options
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psxclassic01/init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxclassic01/init.c b/testsuites/psxtests/psxclassic01/init.c index 924224c7b7..1acc14142a 100644 --- a/testsuites/psxtests/psxclassic01/init.c +++ b/testsuites/psxtests/psxclassic01/init.c @@ -52,9 +52,17 @@ rtems_task test_task(rtems_task_argument arg) int sc; struct sigaction new_action; sigset_t mask; + int policy; + struct sched_param param; printf("test_task starting...\n"); + sc = pthread_getschedparam( pthread_self(), &policy, ¶m ); + rtems_test_assert( sc == 0 ); + + sc = pthread_setschedparam( pthread_self(), policy, ¶m ); + rtems_test_assert( sc == 0 ); + sc = sigemptyset (&new_action.sa_mask); rtems_test_assert( sc == 0 ); |