operating system 5) There are 2 buffers: S, T, and 3 processes: Put, Copy, Get. Process…

operating system

5) There are 2 buffers: S, T, and 3 processes: Put, Copy, Get. Process Put places data into buffer S, process Copy copies data from buffer S to buffer T. and process Get takes data from buffer T. Use wait() and signal() to describe the execution of the 3 processes, so as to guarantee the synchronized access of the buffers. (10 points)