In general, using the lock statement to protect small blocks of code, never spanning more than a single method, is the best way to use the Monitor class.

 
  • 通常情况下,使用lock语句保护小代码块并且不跨越多个方法是使用Monitor类的最佳方法。
今日热词
目录 附录 查词历史