How Do I Stop Thread When I find a prime number

前端 未结 0 686
孤城傲影
孤城傲影 2020-12-29 19:55

When I find a prime number, I have to stop it. If I use it before synchronized while, only one thread process will occur. Multiple thread operations should occur, but should

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