Dealing with Deadlock and Starvation
• Deadlock prevention
– A transaction locks all data items it refers to before it begins execution.
– This way of locking prevents deadlock since a transaction never waits for a data item.
– The conservative two-phase locking uses this approach.