Commit 203c07f5 authored by Branislav Jansik's avatar Branislav Jansik
Browse files

Update variables.c

parent f01467c3
...@@ -13,7 +13,7 @@ printf ("Serial var1= %d, &var1= %p\n",var1,&var1); ...@@ -13,7 +13,7 @@ printf ("Serial var1= %d, &var1= %p\n",var1,&var1);
#pragma omp parallel private(tid) #pragma omp parallel private(tid)
{ {
tid = omp_get_thread_num(); tid = omp_get_thread_num();
var1 = tid;
printf ("Thread %d var1= %d, &var1= %p\n",tid,var1,&var1); printf ("Thread %d var1= %d, &var1= %p\n",tid,var1,&var1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment