The SyncLock block acquires and releases the exclusive lock by calling the Enter and Exit methods of the Monitor class in the System.Threading namespace.

 
  • SyncLock块通过调用System.;Threading命名空间中的Monitor类的Enter方法和Exit方法获取和释放独占锁。
今日热词
目录 附录 查词历史