< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Google: resiprocate "(void)lock;"
-----Original
Message-----
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 |