This is an exam question (practice exam, not the real one). It\'s about concurrent programming using a multi-core processor and the problems with using locks.