Infosys Interview Question

How to handle Synchronization problem through waits?