When the lock block is entered, execution on the specified expression is blocked until the specified thread has an exclusive lock on the object in question.
英
美
- 输入lock块后,在指定的线程对所讨论的对象拥有专用锁之前,对指定表达式的执行一直被堵塞。