From 3389491e52581675ec901e2d4509e6131aa14d75 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 6 Mar 2006 17:16:54 +0000 Subject: [PATCH] test --- src/protocol.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/protocol.cpp b/src/protocol.cpp index d5618780..6672afde 100755 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -157,11 +157,11 @@ void CProtocol::DeleteSendMessQueue() void CProtocol::OnTimerSendMess() { - Mutex.lock(); - { +// Mutex.lock(); +// { SendMessage(); - } - Mutex.unlock(); +// } +// Mutex.unlock(); } bool CProtocol::ParseMessage ( const CVector& vecbyData, @@ -170,8 +170,8 @@ bool CProtocol::ParseMessage ( const CVector& vecbyData, /* return code: true -> ok; false -> error */ - Mutex.lock(); - { +// Mutex.lock(); +// { int iRecCounter, iRecID, iData; unsigned int iPos; CVector vecData; @@ -250,8 +250,8 @@ for ( int i = 0; i < iNumBytes; i++ ) { { return false; // return error code } - } - Mutex.unlock(); +// } +// Mutex.unlock(); } void CProtocol::CreateJitBufMes ( const int iJitBufSize )