[reSIProcate] about lock!

Alexander Altshuler alt at kaluga.ru
Tue Nov 21 04:02:11 CST 2006


Google: resiprocate "(void)lock;"

 

-----Original Message-----
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 12:26 PM
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/ff6f5e43/attachment.htm>


More information about the resiprocate-devel mailing list