Counting Semaphore

AddedThis section is to add new process or to visualize as such like the processes are coming for the shared variable.

EntryProcesses queued here if Critical Section is already occupied by some process to avoid access to shared Resources.

CSThe critical section is a code segment where the shared variables can be accessed.

ExitThis queue is to show the record of the completed processes.

Semaphore :a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system. A semaphore is simply a variable.
Suspended Queue: Here those processes would be queued which needed the Critical Section but it was already occupied at the time of appearance.
Critical Section: It will show currently which process is being executed.
Completed Queue: Here completed processes will be displayed.