When two threads contend for a lock, one of them will get the lock and the other will have to block until the lock is available.

 
  • 当两个线程竞争同一个锁时,其中一个会得到锁,另一个不得不阻塞,直到锁可用。
今日热词
目录 附录 查词历史