please follow tge instructionProgramming Assignment: Semaphores Instructions Consider three threads, T1, T2 and T3, that share global variables a, band c, with initial values a-1,b-2 and c 3. T1 executes the assignment a = c + b + a,-Eq(1), T2 executes the assignment b a+c+ b, -Eq(2), and, T3 executes the assignmentc bac Ea(3) Note that the three threads update different variables using the three assignments. The three assignments will be executed in the same order in which they are
OR
OR