![]() |
UnlockRead() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: Win32ReadWriteLock.h |
virtual void UnlockRead();
Unlock for reading
//First lock the mutex and check the read flag CMutexAutoRelease aRelease(m_pMutex,TRUE); //Do we have readers if (m_iReaders) { //Release the semaphore m_pSemaphore->Release(); //Decrease the count --m_iReaders; }
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |