[reSIProcate] about lock!
Scott Godin
slgodin at icescape.com
Tue Nov 21 08:05:07 CST 2006
It's only present to remove compiler warnings about unused variables.
From: resiprocate-devel-bounces at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of
hongsion
Sent: Tuesday, November 21, 2006 4:26 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] about lock!
Hi all,
I am studying Resiprocate source code recently, and I met this
following code:
Fifo<Msg>::add(Msg* msg)
{
Lock lock(mMutex); (void)lock;
mFifo.push_back(msg);
mSize++;
mCondition.signal();
}
Could anyone tell me what " (void)lock; " mean? Thanks!
Regards,
hongsion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061121/27b41fa4/attachment.htm>
More information about the resiprocate-devel
mailing list