What is deadlock? How to prevent deadlock?
Sigiloso
Deadlocks can occur for many reasons but the most basic case is when a thread or thread pool is waiting for information or results from another set of threads or processes. Can be prevented by many techniques but timeout and atomic functions help as well as event based programming.