If the mutex is currently unlocked you'll get the lock, and this function will return zero.
如果互斥对象当前处于解锁状态,那么您将获得该锁并且函数将返回零。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
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返回值)。
The company currently product system is divided into flat open doors and Windows of hand, flat open door hinge, flat open doors and Windows clutch, flat open lock products and zero accessories.
公司目前产品体系分为平开门窗执手、平开门窗铰链、平开门窗传动器、平开门锁等产品及其零附件。
There is no reset to zero , which means that the synthesiser loop lock-up time will be variable.
没有复位至零,这意味着合成回路锁定时间将是可变的。
A new braking system model was built from a study on the solution method of the friction brake torque under the conditions of braking to near zero speed and braking lock.
研究了制动近零状态和制动抱死状态下制动力矩的求解理论,开发了一种新的制动系统模型。
If after the decrement it is zero, reset the lock to unlocked.
如果减少为零后,复位锁解锁。
If after the decrement it is zero, reset the lock to unlocked.
如果减少为零后,复位锁解锁。
应用推荐