When a read lock exists, many read operations may use this lock.
当存在一个读锁时,很多读操作均可使用这个锁。
pthread_rwlock_rdlock may fail if the maximum number of read locks (implementation defined) for the lock has been exceeded.
如果超过了最大读锁数量(由实现定义),pthread_rwlock_rdlock可能会失败。
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.
数据库访问通常会对被查询的数据进行读锁定,在数据更新后会变成更新锁定。
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锁时,任何并发应用程序都不能读取和更新该表中的数据。
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位读操作的原子性的情况下,它更是如此。
Once an exclusive lock has been issued, no other read or write operations can take place.
在发出独占锁定后,其他的读或写操作将不会再发生。
When a table holds an IX lock, the lock owner and concurrent applications can read and update data in that table.
当表持有IX锁时,锁拥有者和并发应用程序可以读和更新该表中的数据。
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.
研究者在周一表示,当我们在阅读时,我们的眼睛并不是如之前所说的按照从左至右的顺序浏览整页文章,而是把眼睛锁定在同一单词的不同字母上。
These next key locks are only obtained when the key INSERT finds that a scanner with a Repeatable Read (RR) isolation level has a row lock on the next-higher key in the index.
这些nextkey锁只有在keyINSERT发现带有RepeatableRead (RR)隔离级别的扫描器在索引中的next -higher键上有一个行锁时才能获得。
While the amount of logical ISAM instructions we have performed is at 6 million reads, the number of lock requests (which is a physical indicator of what was read) is at 59 billion.
而我们执行的逻辑ISAM指令的数量是6百万次读取,锁请求数是(就是所读取的物理指示器)是590亿。
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)索引节点锁,允许多个用户同时读取相同的文件。
For each bucket, there's a lock, and that lock is acquired when traversing a bucket either for read or write.
每个bucket都有一个锁,而且该锁在遍历bucket(为了读或写)的时候被获取。
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语句中谓词的行,这个优化器必须将主表中的所有行上锁、读取它们的值并与谓词中提供的值进行比较。
If you know that an entity bean will only ever be read and not updated, then this policy will simulate a read-only lock.
如果您清楚可以对实体bean随时进行读操作且实体bean不会更新,那么该策略可以模拟只读锁定。
To delve further into screen, read about split-screen mode and learn how you can prevent access to individual Windows with an old-fashioned lock.
要想进一步掌握Screen,可以研究一下多屏幕模式,学习如何用老式的锁防止对各个窗口的访问。
The reason this technique is called the "cheap read-write lock" is that you are using different synchronization mechanisms for reads and writes.
之所以将这种技术称之为 “开销较低的读-写锁” 是因为您使用了不同的同步机制进行读写操作。
Locking occurs on two levels (see Listing 7) : The list has a read-write lock, while individual nodes contain a mutex.
在两个级别上执行锁定(见清单7):链表有一个读写锁,各个节点包含一个互斥锁。
Because you're sharing the same mutex for push and pop operations, the data-read speed is somewhat compromised as writer threads access the lock.
因为添加和取出数据操作使用相同的互斥锁,所以读取数据的速度会影响写数据的线程访问锁。
To make this safe, you need to have a mechanism to lock the service locator and make it read only.
为了安全,你需要用一种机制来锁定服务定位器并使之只读。
Before an RPG program updates a row accessed by a key it must perform a read operation to lock the row for update intent.
R PG程序更新通过键访问的行之前,必须执行一个读操作,以便锁定该行,进行更新。
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锁允许使用只读查询的并发应用程序访问目标表,但是防止应用程序写数据到表中。
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 your head swings as your eyes move along a line, lock your head between your hands as you read.
如果你的头摆动你的眼睛沿着一条线,锁定你的头你的手之间你读。
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 设置写线程的优先级,根据读写锁的性质,很容易看出写线程可能会饿死。
While Listing 6 shows push_back using the read-write lock.
清单6 给出使用读写锁的 push_back 方法。
Read that first sentence of today's passage again. Lock it into your mind.
再读读第一段(经文),用心铭记。
I've always thought that READ_COMMITTED (DB2 calls it Cursor Stability (CS)) meant that you do NOT lock on reads, and that you only read the committed data.
我一直认为read_committed (DB 2调用游标稳定性(CS))意味着你不锁上读,那你只能读提交的数据。
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操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
应用推荐