When only the main thread exists, no lock operations are needed.
只有一个主线程的时候,不需要锁操作。
There's no lock on the front door from when police or whoever kicked in the door.
前门上没有锁,所以警察什么的一脚就能把门踢开。
And when a committed Lock Person lives in the same building as a No Lock Person, things can heat up.
当这两种人碰巧住一栋楼里,事情就大条了。
In this situation, if no lock is available at the time of the request, the application immediately receives a -911.
在这种情形中,如果请求时没有可用的锁,那么应用程序立刻会接收到- 911。
I moved to the second one, still no lock in there. Are customers here like to vandalize public properties too?
我出来,换到第二间,还是没有锁,这里的顾客也喜欢损坏公物吗?
No locks will be included; this kind of lock-free, concurrent data structure is also referred to as a non-blocking data structure.
这个堆栈没有锁;这种无锁的并发数据结构也称为非阻塞数据结构。
Without this app, you have to swipe to unlock the real lock screen after unlocking Flyscreen, No Lock is a free app that disables the Android lock screen.
没有No Lock,你在解开Flyscreen之后还不得不点击解开真正的锁定屏幕,而 No Lock是一款免费的应用程序,它能禁用Android 的锁定屏幕。
"No lock can guarantee someone will not go the extra mile to steal your bike or motorcycle, especially if it's expensive and worth the risk," the SkunkLock team claims.
制作臭锁的团队表示:“没有锁能够保证自行车和摩托车不会被偷走,当车子非常昂贵且值得冒险的时候尤为如此。”
The No Lock People: You may doubt their existence, particularly in big cities like New York, but people who do not lock the doors to their houses and apartments do exist — and in surprising numbers.
不闭户一族:你也许怀疑他们的存在,尤其是在纽约这样的大城市,但世上确实有不锁门的人——人数还多得惊人。
Countries that need oil are clawing at each other to lock up scarce supplies, and are willing to deal with any government, no matter how unpleasant, to do it.
需要石油的国家正在互相撕咬以锁定稀缺的石油供应,并且,无论这种事会多么令人不愉快,它们都愿意与任何政府打交道。
In the villages of the English countryside there are still people who remember the good old days when no one bothered to lock their doors.
在英国乡村的村庄里,仍然有人记得过去那些没有人费心锁门的美好日子。
No need to stop by the reception. Guests can go straight to their room and place their phone in front of the lock and the door opens.
不需要在前台停留。客人可以直接走到他们的房间,把他们的手机放在房门锁的前面,门就可以开了。
This variant assumes no interactions with interrupt handlers and this lock.
这个变量假定中断处理程序和该锁之间没有交互。
It was a very wonderful trunk; no sooner did any one press on the lock than the trunk could fly.
这是一只很滑稽的箱子。一个人只须把它的锁按一下,这箱子就可以飞起来。
Be sure to verify that no JVMs are running on the database machine before manually removing a database lock file.
在手动删除数据库锁文件之前,请务必确认在数据库机器上没有JVM在运行。
When a table holds a Z lock, no concurrent application can read or update data in that table.
当表持有z锁时,任何并发应用程序都不能读取和更新该表中的数据。
The unibody phone has a 4.3-inch curved glass AMOLED screen with no forward facing buttons; users double-tap to lock and unlock.
这款直板手机使用的是4.3英寸的弧面amoled屏幕,边缘没有物理按键,用户使用双击屏幕来锁屏或解锁。
Until now you only know the SQL statement that was blocked by the existing lock, but you have no information about the statement that caused the lock.
目前为止,您只知道被现有的锁定阻塞的sql语句,但是一点都不了解导致锁定的语句。
Once an exclusive lock has been issued, no other read or write operations can take place.
在发出独占锁定后,其他的读或写操作将不会再发生。
The number of threads in the group should be no larger than the depth of the deepest lock hierarchy possible in the system.
组中线程的数量应该不大于系统中最深的锁层次结构的深度。
As I turned to enter my yard I started to lock the gate, and then I thought, "No, I'll leave it open."
我转身走进院子,开始给门上锁,然后我想道:“不,还是留着门吧。”
No node-specific lock needs to be acquired.
不需要获得与节点相关的锁。
The import utility accomplishes this by requesting an exclusive (X) lock on the table at the beginning of an ALLOW NO ACCESS import operation.
import工具实现这一点的方法是在ALLOWNOACCESS导入操作的开始请求目标表上的一个排他(X)锁。
A new type of lock called seqlock has been introduced for locking a small section of data (no Pointers) that is frequently accessed.
引入了一个叫做seqlock的新类型的锁,用于锁定小段的经常被访问的数据(不是指针)。
Percolator has no central location for transaction management and lacks a global lock detector.
Percolator没有提供用于事务管理的中心服务器,也没有全局锁侦测器。
With Linux, there is no commercial vendor trying to lock you into certain products or protocols.
所有使用Linux的用户,都不会受到任何商业供应商的绑定,将你锁定在某些产品或服务协议中。
When all the managers join in, Bob can lock the conference so that no further participants are allowed to join his Web conference.
当所有经理加入后,Bob可以锁定会议,这样任何其他参与者都不允许加入到他的Web会议中。
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块关联的锁是一个线程本地变量。
Even better, in recent JVMs, the performance cost of uncontended synchronization (when no thread attempts to acquire a lock when another thread already holds it) is quite modest.
不过现在好了一点,在最近的JVM 中,没有争用的同步(一个线程拥有锁的时候,没有其他线程企图获得锁)的性能成本还是很低的。
Another special case of locking is the need to lock something where currently no database row exists.
锁定的另一个特例是需要锁定当前数据库行中不存在的项目。
应用推荐