当pthread_cond_wait被调用后,它解锁互斥量并停止线程的执行。
When invoked, pthread_cond_wait unlocks the mutex and then pauses execution of its thread.
之后它创建一个新的线程同时增量threadcount;在完成之后,它解锁互斥量。
After locking that, it creates a new thread and increments threadcount; after it's done, it unlocks the mutex.
当一个互斥锁被锁定后,它必须被解锁。
输入私有密钥的密码以“解锁”它。
试着感觉针脚到达它“解锁”位子的时刻。
Try to feel for the moment when the pin reaches its "unlocked" position.
斯普林特刚刚开始为它的SIMS上锁,但是为了便于在国际范围内适用,他们在未来为信誉良好的客户解锁。
Sprint just started locking its SIMs, but will unlock them for international use with "customers in good standing" in the future.
在2011年2月,Motorola引入了一款4g手机atrix,它使用指纹识别器来解锁手机。
In February 2011, Motorola introduced the Atrix, a 4g phone with a fingerprint reader for use in unlocking the phone.
这就是说,通过线程的锁定和解锁,对于某一数据结构,确保某一时刻只能有一个线程能够访问它。
That is, you make sure that only one thread at a time can access a certain data structure by locking and unlocking it.
如果你使用了模式解锁,在解锁后它依然有效。
If you use a pattern unlock, you'll still have to do that after swiping.
登录之后,Pageant提示输入ssh密码;然后它替您保存解锁后的密钥。
Pageant prompts you, after you login, for your SSH passphrase; then it saves the unlocked key for you.
对互斥对象解锁会立即发生,但等待条件mycond通常是一个阻塞操作,这意味着线程将睡眠,在它苏醒之前不会消耗CPU周期。
Unlocking the mutex happens immediately, but waiting on the condition mycond is normally a blocking operation, meaning that our thread will go to sleep, consuming no CPU cycles until it is woken up.
新的等级s(风暴)星球。这个星球将会成为游戏中最难的星球,同时它需要12个里程碑来解锁。
New class s (Storm) planet. This planet will be the most difficult planet in the game, and it will require 12 milestones to unlock.
一旦完成测试,这个程序将被转换为将解锁支付功能的键,你就可以安装它,即使笔者从市场上拉。
Once out of beta, this app will be converted to a key that will unlock the paid features, and you will be able to install it even after I pull it from the market.
一旦完成测试,这个程序将被转换为将解锁支付功能的键,你就可以安装它,即使笔者从市场上拉。
Once out of beta, this app will be converted to a key that will unlock the paid features, and you will be able to install it even after I pull it from the market.
应用推荐