做完这些之后,才可以被加锁和解锁。
我们为多线程程序添加锁。
两个线程不能同时对同一个互斥对象加锁。
No two threads can have the same mutex locked at the same time.
要递增一个加锁的计数器仍然需要编写很多代码!
That's still a lot of code just to increment a counter with a lock held!
始终应该尽快对已加锁的互斥对象进行解锁(以提高性能)。
You should always unlock a mutex that you've locked as soon as safely possible (to increase performance).
双钥锁允许加锁者或下一个申请者释放互斥锁。
By this replication scheme, either the lock-holder or the next applicant can unlock the corresponding exclusive locks.
这个功能模块会去除加锁表中的一条加锁记录。
This function module will remove a lock entry from the lock table.
在重新加锁时,考虑使用版本号来检测状态变更。
When re acquiring locks, consider using generation counts to detect state change.
文件加锁是一个非常棘手的问题,很多时候都存在竞争条件。
File locking is a very tricky issue and race conditions abound.
在重新加锁时,考虑使用版本号来检测状态变更。
When reacquiring locks, consider using generation counts to detect state change.
这个功能模块用于在加锁表中生成一条加锁记录。
This function module is used to generate a lock entry in the lock table.
在激活一个加锁对象时生成的功能模块的名字是什么?
What are the names of the function modules that will be generated upon activation of a lock object?
在SolarisSPARC上,加锁的原子操作可以如下实现。
On Solaris SPARC, atomic operation for locking can be implemented as the following.
数据库中的行是原子单位,可以被当作一个整体进行加锁,读取和修改。
Every row is an atomic unit, to be locked, read, and updated as a whole.
该方法支持多粒度锁、自动加锁特性和自动锁粒度升级特性。
This method supports multiple granularity lock, automatic lock and automatic lock escalation.
他们会让你确信,真的有一扇不加锁的门,在等待着你去开启。
Someone who convince you that there really is an unlocked door just waiting for you to open it.
如果跟文件有关的一个进程挂起了,那么这就会使虚拟机不能对该文件加锁。
If a process is hanging around that is holding onto the file, it will prevent the virtual machine from being able to get the lock on the file.
排他锁。除加锁进程外其他进程没有对已加锁文件读写访问权限。
LOCK_EX an exclusive lock. This denies all other processes both read and write access to the file.
本文对光脉冲在全光纤叠加锁模激光器中演变的动力学作了研究。
In this paper, the dynamical evolution of optical pulses in an additive pulse mode-locked configuration using a doped active fiber coupled to a nonlinear optical fiber is studied.
看起来我所找到的任何一种所谓的文件加锁的正确指南,之后又都进行了更新。
It seemed that for every guideline I found spelling out the correct way to lock files, a subsequent correction was posted.
因为他的存在,你坚信世界上存在一扇不加锁的门,只是等着你去开启。
Someone who convnces you that there really is an unlocked door just waiting for you to open it.
独占式加锁—是一种写加锁,防止数据在有用户已经在修改它时被修改。
Exclusive lock - is a write lock that prevents data from being changed while a user is already modifying it.
如果出于任何原因不能设置这个加锁,那么其结果会在返回码中反映出来。
If the lock cannot be set for any reason then this would be reflected in the return code.
这些系统对文件进行加锁,这样在某个时间只有一个开发人员对中心仓库具有写入权限。
These systems lock files so that only one developer has write access to the central repository at a time.
当您迷失时,我们会让你确信,真的有一扇不加锁的门,在等待着你去开启。
When you lose your way, we convince you that there really is an unlocked door just waiting for you to open it.
餐厅里有一个很大的壁橱空间,他可以为我做一个加锁的柜子放在那里,把银器锁在里面。
In the dining room, there was a niche large enough, he told me, for a cabinet that he could build for me, with a lock to secure my silver inside.
餐厅里有一个很大的壁橱空间,他可以为我做一个加锁的柜子放在那里,把银器锁在里面。
In the dining room, there was a niche large enough, he told me, for a cabinet that he could build for me, with a lock to secure my silver inside.
应用推荐