Once an exclusive lock has been issued, no other read or write operations can take place.
在发出独占锁定后,其他的读或写操作将不会再发生。
With this type of lock, concurrent applications can read from or write to the locked table.
有了这一类型的锁,并发应用程序就可以读或写已锁定的表。
When a table holds a Z lock, no concurrent application can read or update data in that table.
当表持有z锁时,任何并发应用程序都不能读取和更新该表中的数据。
The normal behaviour of a database access is to get a read lock on the queried data, which gets transformed into an update lock if data is updated.
数据库访问通常会对被查询的数据进行读锁定,在数据更新后会变成更新锁定。
When a table holds an IX lock, the lock owner and concurrent applications can read and update data in that table.
当表持有IX锁时,锁拥有者和并发应用程序可以读和更新该表中的数据。
Read on as we tell you about a new app that adds a lot of functionality, as well as a few alternatives for lock screen tweaking.
下面不仅将介绍一款新的应用程序,它带来了许多功能,还将介绍一些其他的修改锁定屏幕的应用程序。
If a thread wishes to modify or read a value from a Shared resource, the thread must first gain the lock.
如果一个线程想要从一个共享资源中修改或者读一个值,它必须先获取锁。
The current thread has entered read mode, so trying to enter the lock in write mode would create the possibility of a deadlock.
目前执行绪已进入读取模式,因此尝试进入写入模式锁定可能会造成死结。
For each bucket, there's a lock, and that lock is acquired when traversing a bucket either for read or write.
每个bucket都有一个锁,而且该锁在遍历bucket(为了读或写)的时候被获取。
When we read our eyes lock on to different letters in the same word instead of scanning a page smoothly from left to right as previously thought, researchers said on Monday.
研究者在周一表示,当我们在阅读时,我们的眼睛并不是如之前所说的按照从左至右的顺序浏览整页文章,而是把眼睛锁定在同一单词的不同字母上。
So to find the row that satisfies the predicate in the select statement, the optimizer has to lock, read in, and compare all the rows in the main table with the value supplied in the predicate.
因此要找到满足select语句中谓词的行,这个优化器必须将主表中的所有行上锁、读取它们的值并与谓词中提供的值进行比较。
This is due to the way in which JFS2 is implemented with a write-exclusive inode lock, allowing multiples users to read the same file simultaneously.
这是因为JFS2在实现时使用了写独占(write - exclusive)索引节点锁,允许多个用户同时读取相同的文件。
pthread_rwlock_rdlock may fail if the maximum number of read locks (implementation defined) for the lock has been exceeded.
如果超过了最大读锁数量(由实现定义),pthread_rwlock_rdlock可能会失败。
For example, if you have six databases and one takes a write lock, the other five are still available for read and write.
例如,如果你有六个数据库,其中一个有写锁,其他的五个仍然可以进行读写。
To make this safe, you need to have a mechanism to lock the service locator and make it read only.
为了安全,你需要用一种机制来锁定服务定位器并使之只读。
A thread is counted only once, even if the lock allows recursion and the thread has entered read mode multiple times.
即使锁定允许递归并且线程已进入读取模式多次,也只对每个线程计数一次。
The reason this technique is called the "cheap read-write lock" is that you are using different synchronization mechanisms for reads and writes.
之所以将这种技术称之为 “开销较低的读-写锁” 是因为您使用了不同的同步机制进行读写操作。
It is a commonly held belief that you do not need to acquire a lock to simply read an object's fields, especially since the JLS guarantees that 32-bit reads will be atomic.
有一种普遍的观点是,如果只是要读一个对象的字段,不需要请求加锁,尤其是在JLS保证了32位读操作的原子性的情况下,它更是如此。
LOCK_EX an exclusive lock. This denies all other processes both read and write access to the file.
排他锁。除加锁进程外其他进程没有对已加锁文件读写访问权限。
Locking occurs on two levels (see Listing 7) : The list has a read-write lock, while individual nodes contain a mutex.
在两个级别上执行锁定(见清单7):链表有一个读写锁,各个节点包含一个互斥锁。
If you don't adhere to this approach in prioritizing writer threads using pthread_setschedprio, then given the nature of read-write lock, it is easy to see how writer threads could starve.
如果不按这种方式使用 pthread_setschedprio 设置写线程的优先级,根据读写锁的性质,很容易看出写线程可能会饿死。
The s lock allows concurrent applications that use read-only queries to access the target table, but applications attempting to write data to the table are prevented from doing so.
s锁允许使用只读查询的并发应用程序访问目标表,但是防止应用程序写数据到表中。
Guaranteed condition: If any invalid card is read, the circuit in the lock can still function properly with no damage.
保证条件:接触任何非法卡,锁内电路不会损坏,仍能正常使用。
After the script package has been defined, you can optionally mark it read-only by clicking the Lock icon on the top right toolbar.
定义好脚本包后,可以单击右上方的工具栏中的Lock按钮,将脚本包选择性地标记为只读。
At a later point in time, the reader thread invokes the read operation on the channel (this is also a synchronized method, so the reader thread must acquire the monitor lock before proceeding).
稍后,阅读器线程调用通道上的read操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
At a later point in time, the reader thread invokes the read operation on the channel (this is also a synchronized method, so the reader thread must acquire the monitor lock before proceeding).
稍后,阅读器线程调用通道上的read操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
应用推荐