这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
如果用一个表锁替换这些行锁,将不再会超出maxlocks值,那么锁升级就会停止。
If after replacing these with a single table lock, the MAXLOCKS value is no longer exceeded, lock escalation stops.
锁定问题通常表明应用程序中存在一些相当严重的并发性问题,在增大锁列表参数的值之前应当解决这些问题。
The locking problems normally indicate some fairly significant concurrency problems in the application that should be dealt with before the lock list parameter is increased.
要完全控制配置,可以在模式中指定一些配置值并在参数上使用“锁”来防止修改。
You can completely control the configuration by specifying the configuration values in the pattern and using the "lock" on the parameters to prevent modification.
就是先获得恰当的闪光曝光值,压下闪光曝光锁按钮,锁定这个曝光值。
FE lock is simply obtaining a proper flash exposure, pushing the right button to lock in that exposure.
使用缺省锁,但是让LOCKLIST和MAXLOCKS数据库配置参数的值比较小。
Use default locking, but have small values for the LOCKLIST and MAXLOCKS database configuration parameters.
如果锁升级造成性能方面的问题,则可能需要增大LOCKLIST参数或MAXLOCKS参数的值。
If lock escalations are causing performance concerns you may need to increase the value of LOCKLIST parameter or the MAXLOCKS parameter.
软锁只是一种特定的缓存值失效表述方式,在它获得新数据库值前阻止其他事务读写缓存。
A soft lock is just a special cache value invalidation representation that stops other transactions from reading or writing to the cache before it gets the new database value.
每一列的高度基于慢锁计数的值,它与图中的所有列有关。
The height of each column is based on the value of the slow lock count and is relative to all the columns in the graph.
然而,您可以在读操作中使用volatile确保当前值的可见性,因此可以使用锁进行所有变化的操作,使用volatile进行只读操作。
However, you can use volatile to ensure the visibility of the current value when reading, so you use locking for all mutative operations and volatile for read-only operations.
如果Hibernate不是独占数据库用户,乐观锁会失效,除非创建数据库触发器为其他应用程序对相同数据的变更增加版本字段值。
Optimistic locking will not work if Hibernate is not the sole database user, unless you create database triggers to increment the version column for the same data change by other applications.
如果count 子选项的值为1,则表明当出现锁超时事件时应该执行db2cos脚本。
The value 1 for the count suboption indicates that the db2cos script should only be executed once a locktimeout event occurs.
并且绝对不要对您未保持锁的互斥对象进行解锁操作(否则,pthread _ mutex_unlock调用将失败并带一个非零的eperm返回值)。
And you should never unlock a mutex that you don't hold a lock for (otherwise, the pthread_mutex_unlock call will fail with a non-zero EPERM return value).
如果一个线程想要从一个共享资源中修改或者读一个值,它必须先获取锁。
If a thread wishes to modify or read a value from a Shared resource, the thread must first gain the lock.
用两次锁存法可巧妙地提取有孔洞缺陷时的板宽值。
The value of width can be acquired ingeniously by using duplex latch mode while there is a hole defect in the steel plate.
使用优先级天花板协议(PCP),每个互斥锁都有最大优先级,设为需要这个锁的任务的优先级的最大值。
With the priority ceiling Protocol (PCP) method each mutex has a defined priority ceiling, set to that of the highest priority task which USES the mutex.
一个写线程释放一个锁之后,另一个读线程随后获取了同一个锁。本质上,线程释放锁时会将强制刷新工作内存中的脏数据到主内存中,获取一个锁将强制线程装载(或重新装载)字段的值。
In essence, releasing a lock forces a flush of all writes from working memory employed by the thread, and acquiring a lock forces a (re) load of the values of accessible fields.
然而,如果使用的是PCP互斥锁,ADC和DAC都有一个天花板值,都等于认证任务的优先级。
However with a PCP mutex, both the ADC and DAC mutex will have a ceiling priority equal to the SI's task priority.
它的简单而有效的音圈驱动现在锁了“最后的位置”,以准确捕捉断电后,用非常低漂移设定值允许T6100,以维持设定点。
Its simple yet effective voice coil actuation now Locks in "Last Position" to accurately capture the setpoint with extremely low drift after a power loss permits the T6100 to maintain set point.
测试寄存器是个特殊锁存,可以保存alu中比较所得的值。
The test register is a special latch that can hold values from comparisons performed in the alu.
在指定的一段时间内,尝试获取指定对象上的排他锁,并自动设置一个值,指示是否获取了该锁。
Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
难道就只有我一个觉得不会出错么?多线程修改数据只要不是同一个地方并不需要锁,楼主只要关键不变不增不减取出值修改应该是没问题的。
Is equivalent to a number of threads at the same time on a map data changes, there will be no memory conflict, what is the hidden problem?
若计数器值为0,则整张卡的数据被锁死,只可读出,不可写入或更改且无法继续核对密码;
If the counter value is 0, then the whole card data to be locked, the only readable, not write or could not continue to check and change your password;
若计数器值为0,则整张卡的数据被锁死,只可读出,不可写入或更改且无法继续核对密码;
If the counter value is 0, then the whole card data to be locked, the only readable, not write or could not continue to check and change your password;
应用推荐