How to make threads wait until initialization of a variable?

前端 未结 0 378
说谎
说谎 2021-02-20 07:34

I am creating a List of 10 objects of type java.sql.Connection in my main method to implement ConnectionPool. Then I am creating 10 threads which will use these connections for

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