PK11_USE_THREADS(PZ_Unlock(lock);)
PK11_USE_THREADS(PZ_Unlock(slot->objectLock);)
pk11_ObjectFromHandleOnSlot(CK_OBJECT_HANDLE handle, PK11Slot *slot){    PK11Object **head;    PZLock *lock;    PK11Object *object;    if (pk11_isToken(handle)) {	return pk11_NewTokenObject(slot, NULL, handle);    }    head = slot->tokObjects;    lock = slot->objectLock;    PK11_USE_THREADS(PZ_Lock(lock);)    pk11queue_find(object,handle,head,slot->tokObjHashSize);    if (object) {	pk11_ReferenceObject(object);    }    PK11_USE_THREADS(PZ_Unlock(lock);)    return(object);}