Can two threads execute the same synchronized block of code on the same object if they use different monitors?

后端 未结 0 1615
误落风尘
误落风尘 2020-12-12 04:56

I\'m newish to Java concurrency and I\'m trying to better understand monitors.

Suppose I have one object, with a method that takes some kind of reference argument and

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