# Barrier mechanism is a co-ordinative or collective communication synchronization operation that is used in a parallel programming model.
#The concept of barrier mechanism is very simple to understand that a group of all processes must be reached a certain point after that they are allowed for execution.
#No single process is allowed to proceed with the execution before all the processes (within the same group) will be reached.
#The certain point where all processes must meet before execution is called a barrier.
# When all the processes reached the barrier, they are all allowed to continue to pass the barrier (execution).