46
edits
Changes
→Deadlocks
===Mismatched allocation/deallocation===
this is when attempting to delete memory already deleted or allocate already allocated memory
[[File:Invalid_mem_access.JPG]]
===Deadlocks===
A deadlock is when a multiple processes attempt to access the same resource at the same time, and the waiting process is holding a resource that the first process needs to finish.
[[File:deadlock_chart.png|400px]]