From 33e6ae647088a9b8c42b80307355cc40951e64fa Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 27 Jun 2000 22:33:22 +0000 Subject: [PATCH] balanced lock calls --- src/cas/generic/inBuf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cas/generic/inBuf.cc b/src/cas/generic/inBuf.cc index f37efaa0b..a96d16e99 100644 --- a/src/cas/generic/inBuf.cc +++ b/src/cas/generic/inBuf.cc @@ -157,6 +157,7 @@ const inBufCtx inBuf::pushCtx (bufSizeT headerSize, bufSizeT bodySize) bufSizeT inBuf::popCtx (const inBufCtx &ctx) { if (ctx.stat==inBufCtx::pushCtxSuccess) { + this->mutex.lock(); bufSizeT bytesRemoved = this->nextReadIndex; this->pBuf = ctx.pBuf; this->bufSize = ctx.bufSize;