SqlArray documentation, minor ide fix

git-svn-id: svn://ultimatepp.org/upp/trunk@936 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-03-10 22:43:09 +00:00
commit 7f5d05f0d5
6 changed files with 124 additions and 6 deletions

View file

@ -260,6 +260,11 @@ void Semaphore::Release()
ReleaseSemaphore(handle, 1, NULL);
}
void Semaphore::Release(int n)
{
ReleaseSemaphore(handle, n, NULL);
}
void Semaphore::Wait()
{
WaitForSingleObject(handle, INFINITE);