![]() |
Release() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: Win32Semaphore.h |
virtual long Release( long lAmount=1);
Decrease the semaphore count
long lOld; BOOL bResult; //Release it bResult=ReleaseSemaphore(m_hSemaphore,lAmount,&lOld); //Check if it's an error if (bResult) return lOld; else return -1;
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |