diff options
Diffstat (limited to 'pr/tests/affinity.c')
-rw-r--r-- | pr/tests/affinity.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pr/tests/affinity.c b/pr/tests/affinity.c index cfc20e63..52a9b28f 100644 --- a/pr/tests/affinity.c +++ b/pr/tests/affinity.c @@ -21,7 +21,7 @@ static void PR_CALLBACK thread_start(void *arg) { PRUint32 mask = 0; - if (PR_GetThreadAffinityMask(PR_GetCurrentThread(), &mask)) + if (PR_GetThreadAffinityMask(PR_GetCurrentThread(), &mask)) printf("\tthread_start: PR_GetCurrentThreadAffinityMask failed\n"); else printf("\tthread_start: AffinityMask = 0x%x\n",mask); @@ -35,7 +35,7 @@ int main(int argc, char **argv) printf("main: creating local thread\n"); t = PR_CreateThread(PR_USER_THREAD, - thread_start, 0, + thread_start, 0, PR_PRIORITY_NORMAL, PR_LOCAL_THREAD, PR_JOINABLE_THREAD, @@ -50,7 +50,7 @@ int main(int argc, char **argv) printf("main: creating global thread\n"); t = PR_CreateThread(PR_USER_THREAD, - thread_start, 0, + thread_start, 0, PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, @@ -65,7 +65,7 @@ int main(int argc, char **argv) printf("main: creating global bound thread\n"); t = PR_CreateThread(PR_USER_THREAD, - thread_start, 0, + thread_start, 0, PR_PRIORITY_NORMAL, PR_GLOBAL_BOUND_THREAD, PR_JOINABLE_THREAD, |