diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread05/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmthread05/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtmtests/psxtmthread05/init.c b/testsuites/psxtmtests/psxtmthread05/init.c index 53a8b11a31..682afc0c84 100644 --- a/testsuites/psxtmtests/psxtmthread05/init.c +++ b/testsuites/psxtmtests/psxtmthread05/init.c @@ -12,6 +12,8 @@ #include "config.h" #endif +#define TEST_INIT + #include <timesys.h> #include <pthread.h> #include <sched.h> @@ -38,7 +40,7 @@ void benchmark_pthread_setschedparam(void) /* make test_thread equal to POSIX_Init() */ pthread_getschedparam(pthread_self(), &policy, ¶m); - + pthread_setschedparam(thread_ID, policy, ¶m); /* At this point, we've switched to test_thread */ |