5.In a multiprocessing environment, no two processes are executing in their critical sections at the same time.
申論題內容
a. (10 points) Please give a solution to the critical-section problem. Specifically, design the acquire()and the release() functions for the following code.