Why the C program shows the result as 0 using threads on Centos?

后端 未结 0 1649
面向向阳花
面向向阳花 2020-12-06 04:14

I am trying to do the x*x operation using 2 threads on Centos with my C code, but I have a problem. It always prints the result as 0. How can I fix this problem? Also, shoul

相关标签:
回答
  • 消灭零回复
提交回复
热议问题