BlackBerry interview question

What is dedlock ? How do you prevent deadlock?