Lines Matching defs:lock
212 PLocker lock(&space->spaceLock);
224 // Fork a new task. Because we've checked nInUse without taking the lock
230 PLocker lock(&stackLock);
290 PLocker lock(&stackLock);
541 // the constant while it was being updated. We put a lock round
544 PLock *lock = 0;
546 lock = &((CodeSpace*)space)->spaceLock;
548 if (lock != 0)
549 lock->Lock();
551 if (lock != 0)
552 lock->Unlock();
560 if (lock != 0)
561 lock->Lock();
563 if (lock != 0)
564 lock->Unlock();
594 PLocker lock(&stackLock);
629 PLocker lock(&space->spaceLock);
670 PLocker lock(&stackLock);