PR_ASSERT(delete_sem(lock->semaphoreID) == B_NO_ERROR);
result = delete_sem(lock->semaphoreID); PR_ASSERT(result == B_NO_ERROR);
    PR_DestroyLock (PRLock* lock){    PR_ASSERT(NULL != lock);    PR_ASSERT(delete_sem(lock->semaphoreID) == B_NO_ERROR);    PR_DELETE(lock);}