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.