Infosys interview question

How to handle Synchronization problem through waits?