Why does value not change inside thread?

后端 未结 0 790
闹比i
闹比i 2021-01-03 06:32

Ok, so when i assign a new value to variable it doesn\'t change after start(), however after i use join() it does. Why does this happen and in this case should int a

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