Lines Matching defs:lock
65 * @memo Unlock a given mutex lock
66 * @precondition The lock must be held by this thread
67 * @postcondition The lock will be released
68 * @param myMutex The lock to unlock
76 * @postcondition The lock will be held by this thread.
78 void Lockable::lock() {
79 lock(&mutex);
83 * @memo Lock the given mutex lock
84 * @postcondition The lock will be held by this thread
85 * @param myMutex The mutex lock to take
87 void Lockable::lock(pthread_mutex_t *myMutex) {