In this Tutorial I have explained , Counting Semaphore in Windows.
I have used following API's
1. CreateSemaphore
2. ReleaseSemaphore
3. WaitForSingleObject
4. CreateThread
5. CloseHandle
6. WaitForMultipleObject
For More information about Semaphore,Check this Link
https://docs.microsoft.com/en-us/wind...
Video Tutorials for
1 How to Create Semaphore
• 14.CreateSemaphore API- Windows System Pro...
2. How to Create Thread
• 10. CreateThread - Windows System Programm...
3. Thread Synchronization using Semaphore
• 36. Thread Synchronization Using Semaphore...
4. Binary Semaphore
• 37. Binary Semaphore(Adding 2 No's Using B...
5. Deciding Order of Execution Using Semaphore
• 38.Deciding Order of Execution Using Semap...
Follow me on Google Plus
https://plus.google.com/u/0/
Please Share and Subscribe ASystemProgramming Channel
For any Query drop your comment in Comment Box.
Credits : https://msdn.microsoft.com