Sollicitatievraag bij eBay

Please explain synchronization in multi-thread environment and show us potential problem with deadlocks.