A synchronized statement can only be executed after a thread has acquired the lock for the object or class referenced in the synchronized statement.

 
  • 一个同步的声明,在线程获取了同步声明中引用的对象或类的锁之后,才能被执行。
今日热词
目录 附录 查词历史