[reSIProcate] about lock!

hongsion hongsion at gmail.com
Tue Nov 21 03:25:47 CST 2006


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/7d759ffb/attachment.htm>


More information about the resiprocate-devel mailing list