These systems lock files so that only one developer has write access to the central repository at a time.
这些系统对文件进行加锁,这样在某个时间只有一个开发人员对中心仓库具有写入权限。
When multiple threads ask for the same lock at the same time, one wins and acquires the lock, and the others block.
在多个线程同时请求同一个锁时,会有一个线程获胜并得到锁,而其他线程被阻塞。
For “Lock [AQS@135]”, it contends in one place, showing contention count, contention time, and full stack back trace of the contention.
对于“Lock [AQS@135]”,它在一个程序位置出现竞争,显示了竞争的次数,时间和竞争时刻的线程调用栈。
During an export operation, row-level locking is applied to the exporting table, which means that only one lock is held at a time.
在导出操作期间,行级别锁定应用于导出表(exportingtable),这意味着一次只持有一个锁。
You can use one of these custom event handlers to further lock down which tabs are enabled or disabled at any given time.
可以使用这些定制事件处理程序中的一个来进一步控制在给定的时间哪个选项卡被启用或禁用。
In this situation, the application will wait for a lock (if one is not available at the time of the request) until either the lock is granted or until a deadlock occurs.
在这种情形中,应用程序将等待获取锁(如果请求时没有可用的锁),一直到被授予了锁或出现死锁为止。
You can lock documents in document libraries so that they cannot be modified by more than one user at a time.
可以在文档库中锁定文档,从而多个用户不能同时修改它们。
In this case an instance lock is acquired four times: three times for the append method and one time for the toString method, right after another.
在上面的例子中,锁的实例会被请求四次:前三次是执行append方法,最后一次是执行toString方法,紧接着前一个。
Lock yourself in a room away from distractions and focus fully on one task at a time.
将自己反锁在远离干扰的屋子里,某一时刻全身心专注于一项工作。
As with implicit locks, only one thread can own a lock object at a time.
同严格实现的锁一样,一个线程一次只能拥有一个锁对象。
Only one user at a time may hold a lock on a particular file or folder.
一次只能有一个用户持有对特定文件或文件夹的锁定。
Only one user at a time may hold a lock on a particular file or folder.
一次只能有一个用户持有对特定文件或文件夹的锁定。
应用推荐