Apache Flink 中文用户邮件列表
Search
everywhere
only in this topic
Advanced Search
加锁两次
Classic
List
Threaded
♦
♦
Locked
1 message
xiaobao li
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
加锁两次
org.apache.flink.runtime.entrypoint.ClusterEntrypoint的runCluster方法已经加锁了,synchronized
(lock)锁住了整个方法
那么在这个方法内部又调用了initializeServices方法,这个方法里面又有synchronized (lock),加锁两次有啥意义吗?
Free forum by Nabble
Edit this page