IBM Interview Question

Describe how to keep data in sync in mutli-thread application