From b9f7479afa433b4f38884b594e445d91ec48ad26 Mon Sep 17 00:00:00 2001 From: hvlad Date: Fri, 15 Apr 2011 06:19:32 +0000 Subject: [PATCH] Correction. Thanks to Claudio. --- src/lock/lock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lock/lock.cpp b/src/lock/lock.cpp index ec187d2ca8..f81629de2c 100644 --- a/src/lock/lock.cpp +++ b/src/lock/lock.cpp @@ -1125,7 +1125,7 @@ void LockManager::acquire_shmem(SRQ_PTR owner_offset) // Check for shared memory state consistency - while (SRQ_EMPTY(sh_mem_header->lhb_processes)) + if (SRQ_EMPTY(sh_mem_header->lhb_processes)) { fb_assert(owner_offset == CREATE_OWNER); owner_offset = DUMMY_OWNER;