我有一个多线程应用程序,它有一个只有主线程更新(写入)的centrlaised列表.然后我有几个其他线程需要定期检索当前状态的列表.有没有一种方法可以让我这样做?
java list thread-safety
java ×1
list ×1
thread-safety ×1