implementation of a solution of mutual exclusion problem for client server system