What happens if a synchronizede method calls an non-synchronized method?

前端 未结 0 549
生来不讨喜
生来不讨喜 2020-12-11 06:26

Let\'s say I have some class that I want to be threadsafe, and I use Synchronzied keyword to do it.

I have two methods, where one of them are syncrhonized, and the sy

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