Lastly, applications can use this service to lock and unlock content within the repository.
最后,应用程序可以使用此服务锁定和取消锁定库中的内容。
Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).
同步的方法和代码块允许线程在入口处锁定对象并在出口处解锁(针对方法或代码块)。
The electronic badges serve two purposes: providing the method to actually lock and unlock the door and keeping track of who enters the room and when they enter the room.
电子标记可以起两个作用:对房间进行实际的锁定和开锁,跟踪哪些人进入该房间以及何时进入的。
You don't need to disable the system lock screen, or deal with two unlock swipes.
你不需要禁用系统的锁定屏幕,或者点击屏幕解锁两次。
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屏幕,边缘没有物理按键,用户使用双击屏幕来锁屏或解锁。
Alternatively, you can click on the lock icon in the toolbar to unlock them (the lock icon will then change to the unlocked icon).
也可以通过单击工具栏上的锁图标解锁它们(锁图标会变成打开的锁图标)。
Uncontested unlock operations return a locked mutex to the thread lock cache.
非争用的解锁操作将一个锁定的互斥锁返回给线程锁定缓存。
What is ideally needed is the ability to lock a resource, verify its availability, and unlock it if no longer available.
理想的方式是能锁定资源、确认其可用性并在不再使用时解除其锁定。
I didn't discover until the end of my run that my car key (yes, the expensive one with the unlock/lock buttons) had fallen out.
直到跑到最后我才发现我的车钥匙(是的,有解锁和锁最贵的那把钥匙)掉了。
Now you can repeatedly lock and unlock your computer's screensaver just by knocking on the side of the case. Is this faster or better in any way than setting up a custom key combination?
现在我们可以通过敲打屏幕边来重复加锁和解锁计算机屏保的过程。
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.
没有NoLock,你在解开Flyscreen之后还不得不点击解开真正的锁定屏幕,而 No Lock是一款免费的应用程序,它能禁用Android 的锁定屏幕。
Using scoped_lock, you don't need to explicitly lock or unlock the file; the locking occurs inside the constructor, and the unlocking happens automatically whenever you exit the scope.
如果使用scoped_lock,就不需要显式地锁定或解锁文件;锁定发生在构造器内,每当您退出该范围,就会自动发生解锁。
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).
并且绝对不要对您未保持锁的互斥对象进行解锁操作(否则,pthread _ mutex_unlock调用将失败并带一个非零的eperm返回值)。
Use the same thread to lock and unlock a file.
使用相同的线程来锁定和解锁文件。
Your code could repeatedly lock and unlock the mutex, checking for any changes to the value.
代码可以反复对互斥对象锁定和解锁,以检查值的任何变化。
During the writing of this article, for instance, I found that a few times the screen lock would enable on my device, but the touchscreen would not work properly, so I would not be able to unlock it.
例如,在撰写本文的过程中,我发现有几次我的设备会启用屏幕锁,但是触摸屏不会正常工作,所以我就不能解锁。
Earlier, we mentioned that to be allowed to change employee address data, you must first lock the employee record, make the changes, and finally unlock the record.
前面提到,如果要修改雇员的地址数据,首先必须锁定该雇员的记录,修改数据然后再解除锁定。
Lock or unlock your phone to prevent from unwanted checks.
锁定或解锁手机,以防止不必要的检查。
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复杂语句中。
She asked study participants to create three Android lock patterns - one for an imaginary shopping app, another for a fake banking app and one to unlock a phone.
她要求研究参与者创造出三个安卓锁屏图形形——一个用于一款虚构的购物应用,一个用于一款虚构的银行应用,一个用于解锁手机。
With contention, a POSIX lock and unlock operation would trigger Linux kernel priority inheritance support to occur.
存在锁争用时,POSIX锁定和解锁操作将触发Linux内核优先级继承支持。
Use special care in use of lock and Unlock functions.
在使用lock和Unlock函数时要特别小心。
For R5, LotusScript enables you to develop code making use of lock and Unlock functions.
对于R5,可以通过LotusScript开发使用lock和Unlock函数的代码。
A joystick allows the safe room occupant to lock and unlock doors throughout the house to trap an intruder.
控制杆可让安全密室里的人锁上或打开房子里的任何门,来捕捉入侵者。
It is the lightest as execution time, often a lock or unlock becomes just a single inlined assembler instruction.
就运行时间而言是最轻便的,大多数情况下只需要单条内联汇编指令就可以上锁或解锁。
Please lock the non-slip handle when you push the wheelchair. When you need adjust the height of the back, please unlock the non-slip handle.
推出轮椅请锁紧防滑手柄;推出轮椅后,需要调节轮椅椅背高度时,请注意松开防滑手柄;推进床体后,调节椅背高度时,请注意松开防滑手柄。
I am the key you are the lock, no I unlock, you can never walk away.
我是钥匙你是锁,没我开锁,你永远走不掉。
LOCK-Based Critical Sections: Although a LOCK-UNLOCK pair does not act as a full memory barrier, these operations do affect memory ordering. Consider the following code.
锁保护的临界区:经lock -UNLOCK对不能实现完全的内存屏障的功能,但是,它们也的确会影响内存访问顺序,参考下面的示例代码。
LOCK-Based Critical Sections: Although a LOCK-UNLOCK pair does not act as a full memory barrier, these operations do affect memory ordering. Consider the following code.
锁保护的临界区:经lock -UNLOCK对不能实现完全的内存屏障的功能,但是,它们也的确会影响内存访问顺序,参考下面的示例代码。
应用推荐