Semaphore api
I am using visual C++ 2003 in windows XP.
I need semaphore in my program, what API should I use for that?
What is the most updated and recomended API I should use?
Is semaphore not a standard user program service in windows?
What should I use instead?
Thanks in advance.
CreateSemaphore
ReleaseSemaphore
WaitForSingleObjetc
Using Semaphore Objects
Semaphore Objects
All of which are linked from the CreateSemaphore page.
ReleaseSemaphore
WaitForSingleObjetc
Using Semaphore Objects
Semaphore Objects
All of which are linked from the CreateSemaphore page.
Ok, actually I have already seen it, but I didnt notice that the release semaphore is actually the signal mechanisem.
Thanks
Another question, don't I need to release the HANDLE somewhere? how do I release it?
Thanks
Another question, don't I need to release the HANDLE somewhere? how do I release it?
Quote:Original post by The C modest godYou can release it with CloseHandle.
Another question, don't I need to release the HANDLE somewhere? how do I release it?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement