deadlock, livelock, starvation, spinlock

deadlock It refers to the phenomenon that two or more processes are in a waiting state because they hold each other’s required resources, which causes the program to stop running. Simply put, in a system, if a circular dependency is formed between processes, then a deadlock will occur. Image source: https://www.scientcheasy.com/2020/08/deadlock-in-java.html/ All the codes in […]