现在,利用图5和图6来总结一下锁关系。
通过模拟计算,证明高重复频率下锁模脉冲有随光纤缩短而变窄的趋势。
With the simulation, it's demonstrated that the output pulse width is a function of the pulse repetition rate or the fiber length.
房门关着,但弄了一下锁以后我还是轻而易举地进去了。尽管屋里很黑,我很快站在了她的床边。
It was closed, but having tampered with its lock also, I easily entered, and despite the black darkness soon stood by the side of her bed.
如果只有几个应用程序并发地运行,则可以增大 MAXLOCKS,因为在这些条件下锁列表空间中不会有太多争用。
You can increase MAXLOCKS if only a few applications run concurrently, because there will not be a lot of contention for the lock list space under these conditions.
为了重新设想典型的锁刀盒,设计师把产品隐藏在一套玻璃门背后,打算让访问者亲自打开,感受一下锁刀盒的工艺。
Aiming to re-envision the typical locked knife case, the designer concealed the products behind a set of glass doors that are intended to be opened by visitors.
用一点运气加上策略,大多普通的弹子锁都能被打开——所有在你请锁匠之前,尝试一下这个。
Most common pin and tumbler locks can be picked with a little luck and finesse—so before you call a locksmith, try this.
一个可能的原因是自由管理程序想要避免那种情况,在那种情况下,如果跨事务边界保持结果集,就必须要保持某些资源锁。
One possible reason is that the resource manager wants to avoid the situation, where it has to hold some resource locks if the result set is held across the transaction boundaries.
这是一只很滑稽的箱子。一个人只须把它的锁按一下,这箱子就可以飞起来。
It was a very wonderful trunk; no sooner did any one press on the lock than the trunk could fly.
从表面上看,锁省略似乎可以允许我们不必忍受同步带来的负担,就可以编写线程安全的代码了,前提是在同步的确是多余的情况下。
On the surface it looks as though lock elision allows us to write thread safe code without any synchronization penalty for using in cases where it really wasn't needed.
只有在其他线程不拥有锁的情况下才会成功,如果其他线程拥有锁,当前线程就被阻塞。
This only succeeds if another thread does not already have the lock, in which case the current thread is blocked.
如果它是锁着的,证明网站是安全的,未锁的情况下,你就不能泄露自己的信用卡号码。
If it is locked, the site is secure, unlocked means that you should not give a credit card number.
我想我当时一定用力很大,因为他脚下绊了一下,然后我用力把门关上,在外面上了锁。
I must have done it pretty powerfully because he stumbled and then I slammed the door shut and locked it.
更重要的是,在这种情况下进行振动测试,螺母没有出现松脱现象。这表明即使螺母没有完全扭紧,其自锁效果仍然存在。
What's more, when a vibration test was performed in this condition, no loosening occurred, indicating that a self-locking effect is present even if the nut is not fully tightened.
默认情况下,锁计数器不会被收集。
在这些情形下,锁定超时报告中只会显示一个锁持有者。
In those cases only one of the lock owners is shown in the lock timeout report.
乐观事务锁不能用于在单个update语句中更新数据行集合,因此在这种情况下,很难进行错误处理。
Optimistic transaction locking should not be used to update sets of rows in a single update statement, as error handling in this case is very difficult.
而且根据更大的基本块支持其他何种优化,在粗化的情况下,持有锁的时间甚至可能不会延长。
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.
用一点运气加上技巧,大多普通的弹子锁都能被打开——所有在请锁匠之前,尝试一下下面的方法。
Most common pin and tumbler locks can be picked with a little luck and finesse-so before you call a locksmith, try this.
如果你不想在用笔刷时看到它的轮廓,按下大写锁就能轻松转将画笔的光标换到精确模式。
Hit Caps lock. If you don't want to see the edges of the brush you can switch to precise mode easily by having Caps lock on.
在多数情况下,您无法控制数据引擎用于选择何时升级锁级别的启发方法。
In most cases, you have no control over the heuristics the database engine USES for choosing when to escalate the locking level.
在使用ONLINE关键字时,DDL操作是在没有将排它锁应用于定义特定索引表的情况下执行的。
When you use the ONLINE keyword, DDL operations execute without applying an exclusive lock to the table on which the specified index is defined.
在仅出现该锁的情况下,CE服务器将不阻止任何更改。
The ce server will not prohibit any change due to the mere presence of a lock.
为你的裤子锁一下裤边可以让你看起来很时尚而不是要扫大街。
Shorten the hems on your bargain pants and you'll look chic rather than vaguely like you're trying to sweep the streets.
使用volatile变量的主要原因是其简易性:在某些情形下,使用 volatile变量要比使用相应的锁简单得多。
The primary motivation for using volatile variables is simplicity: In some situations, using a volatile variable is just simpler than using the corresponding locking.
当在程序中使用JUC锁的时候,线程会在下面两种情况下“停止”执行。
When using a JUC lock, a thread will "stop" execution in the following two cases.
要想进一步掌握Screen,可以研究一下多屏幕模式,学习如何用老式的锁防止对各个窗口的访问。
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.
Linux在没有锁争用的情况下执行用户空间中的所有锁定。
Linux performs all locking in user space in cases without contention.
使用volatile变量次要原因是其性能:某些情况下,volatile变量同步机制的性能要优于锁。
A secondary motivation for using volatile variables is performance: in some situations, volatile variables may be a better-performing synchronization mechanism than locking.
在某些情况下,如果读操作远远大于写操作,volatile变量还可以提供优于锁的性能优势。
In situations where reads greatly outnumber writes, volatile variables may also provide a performance advantage over locking.
在这样的情形下,finally不会执行,那么也就产生了程序锁泄漏,程序有可能出现死锁。
In that scenario, the finally never runs so the lock leaks, probably eventually deadlocking the program.
应用推荐