Sollicitatievraag bij NVIDIA

How to avoid deadlocks? Difference between thread and process?