SAP interview question

How can we maintain synchronization in OS?