我继承了这样的一些法典:
m_mutex.Lock();
ResetEvent( m_hSyncObject );
m_mutex.Unlock();
缩略语
Are those Mutexes necessary in this case - do those calls behave themselves or can I get away with removing the locks? This function has already had some inc/decs of values that I made atomic earlier and now just these events are within the locks, so getting rid of them would be a big win if possible.