• When DB2 performs an index or table scan, DB2 will block on a row lock when it comes across an uncommitted row which another transaction has exclusively (X) locked.

    DB2在执行索引扫描如果遇到个被一个事务独占 (X) 锁定的未提交,那么 DB2阻塞在行上。

    youdao

  • With locking, if one thread attempts to acquire a lock that is already held by another thread, the thread will block until the lock becomes available.

    使用锁定如果一个线程试图获取其他线程已经具有的锁定那么线程被阻塞直到该锁定可用

    youdao

  • The compiler can observe that there is a sequence of adjacent blocks that operate on the same lock, and merge them into a single block.

    编译可以观察一个顺序相邻同一个进行操作会把它们合并单一内。

    youdao

  • Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).

    同步方法代码允许线程入口处锁定对象出口处解锁(针对方法代码)。

    youdao

  • When multiple threads ask for the same lock at the same time, one wins and acquires the lock, and the others block.

    多个线程同时请求同一个,会有一个线程获胜得到锁,其他线程被阻塞

    youdao

  • In fact, when this feature is enabled, and the INSERT operation requires a new or reused block, DB2 will take an exclusive (x) lock on the block in order to add it to the target cell.

    实际上特性启用并且INSERT操作要求新的重用时,DB 2采用独占的(X)以便添加目标单元

    youdao

  • This synchronized code block acquires the lock associated with the customer class object before it executes.

    同步代码执行之前需要客户对象相关

    youdao

  • And depending on what other optimizations are enabled by the larger basic block, the duration for which the lock is held may not even be lengthened under coarsening.

    而且根据更大基本支持其他何种优化,在化的情况持有时间甚至可能不会延长

    youdao

  • When two threads contend for a lock, one of them will get the lock and the other will have to block until the lock is available.

    两个线程竞争同一个时,其中一个得到锁,一个不得不阻塞直到锁可用。

    youdao

  • Lock coarsening occurs when adjacent synchronized blocks may be merged into one synchronized block.

    多个彼此靠近同步可以合并到一起,形成一个同步块的时候,就会进行化。

    youdao

  • If multiple threads attempt to lock a semaphore after the initial call above, they block and their requests are queued until the pthread_mutex_unlock call is performed.

    如果多个线程完成上面初始调用尝试锁定信号量,则这些线程会被阻塞它们请求进入队列直到执行pthread _ mutex_unlock调用。

    youdao

  • Takes an exclusive (x) lock on the block.

    获得一个独占(X)

    youdao

  • While no one would ever directly use the idiom in Listing 1, this code is very similar to the case where the lock associated with a synchronized block can be proven to be a thread-local variable.

    虽然没有直接使用清单1中的形式,但是这个代码非常类似情况是:可以证实synchronized关联一个线程本地变量

    youdao

  • It is easy to forget to use a finally block to release the lock, to the great detriment of your program.

    容易忘记finally释放对程序非常有害。

    youdao

  • Similarly, attempting to acquire an intrinsic lock (enter a synchronized block) cannot be interrupted, but ReentrantLock supports an interruptible acquisition mode.

    类似地尝试获取内部的操作(进入synchronized)不能被中断的,但是ReentrantLock支持中断获取模式。

    youdao

  • As an example, consider any repetitive coding pattern, such as executing a block of code with a lock held.

    一个常见编码模式执行带有Lock代码

    youdao

  • The guards back out of the cell block and lock the gate behind them.

    警卫退出牢房锁紧牢房区出入的门。

    youdao

  • That write-lock would then block other transactions.

    然后写锁阻塞其他事务

    youdao

  • This is weaker than a pessimistic session lock -- the convention adhered to by the participants is to warn, not to block.

    悲观会话弱一些,相关方约定发出警告,而不是阻止。

    youdao

  • In looking at the code example in Listing 1, one immediate difference between lock and synchronization jumps out — the lock must be released in a finally block.

    查看清单1中的代码示例时,可以看到locksynchronized有一点明显的区别——lock必须在finally块中释放

    youdao

  • To ensure that locks are released, simply pair every lock method with an unlock method, which should be placed in a try-finally block. This is illustrated in Listing 4.

    保证得到释放,我们只需要lock之后对应执行一个unlock方法而且它们应该置于try - finally复杂语句中。

    youdao

  • Does synchronised method releases lock while going into unsynchronised block?

    同步方法释放进入同步

    youdao

  • It is impossible to make "lock mode" for OSPD, because some "unknown" system events may appear and if you block them, your system can hang or some functions will not work.

    OSPD可能添加锁定模式因为一些未知”的系统事件可能发生如果阻止他们的系统可能会挂起或者出现某些功能失灵的情况。

    youdao

  • It can block the UV radiation and external pollution effectively, tone the complexion, lock the water, unblock the pores and help the skin to breathe freely.

    有效隔离空气污染调整肤色锁住肌肤水份、轻易揉展,遮瑕同时不阻塞毛孔肌肤自由呼吸

    youdao

  • A lock is acquired on entry to a synchronized method or block, and released on exit, even if the exit occurs due to an exception.

    进入一个同步方法同步的时候必须获得该退出的时候(即使异常退出)必须释放这个锁。

    youdao

  • The lock on a computer room door does no good if people block the door open.

    计算机门锁不是好办法因为人们可以把门打开

    youdao

  • Inside the fuel line, fuel vapor may block the flow of liquid gasoline. This is called vapor lock.

    在油管汽油蒸气阻碍液态汽油流动称为

    youdao

  • The correct key has notches cut into it that match the wards, which block the wrong key from operating the lock.

    正确具有切口匹配的病房阻止操作错误关键

    youdao

  • When the thread exits the synchronized block of code, the lock is released, no matter how the thread exits the block.

    执行结束程式同步化区块时,锁定释放,不管执行绪如何结束区块。

    youdao

  • As the fastening device of the disposable lock is realized by relatively simple fastening of bayonet and block groove, technology is simplified;

    由于一次性用装置只用 卡口相对简单扣接来实现简化了工艺

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定