You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Statement: Consider three processes A, B and C that are running an infinite loop and printing a, b, and c, respectively. All three processes run concurrently, and printing can occur in any order. Syncrhonize the processes so that the printing occurs in order, i.e., a is printed first, then b, and then c; and repeat.