并且绝对不要对您未保持锁的互斥对象进行解锁操作(否则,pthread _ mutex_unlock调用将失败并带一个非零的eperm返回值)。
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).
代码可以反复对互斥对象锁定和解锁,以检查值的任何变化。
Your code could repeatedly lock and unlock the mutex, checking for any changes to the value.
Cookie也许仅仅由一个简单的键值组成,该值用于解锁存储于公司数据库中有关此用户的大量信息。
The cookie may consist of nothing more than a simple key value that unlocks reams of information about this user stored in the company's databases.
应用推荐