What are some methods of avoiding deadlock? — - don't allow waiting for a resource (means a lot of retries) - make all threads request everything they'll need at the beginning - force all threads to request resources in a particular order preventing any cyclic uses of resources (so no cycle exists) - temporarily expand resources when a deadlock is detected
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university