equivalent the () on Win32 semaphores is the ReleaseSemaphore
Document Sample


280 Chapter 6
The equivalent the () on Win32 semaphores is the
ReleaseSemaphore () function, function is passed three parame-
ters:
a. The HANDLE of semaphore
b, The amount which to increase the value of the semaphore
c. A to the value of the semaphore
\'Ve can increase Sem 1 the following statement:
ReleaseSemaphore(Sem, 1,
Both ReleaseSemaphore () and ReleaseMutex () return nonzero if
and zero
Related docs
Get documents about "