VMWare Inc Interview Question
Quality Assurance EngineersTeam: QATeam
Country: India
Interview Type: In-Person
Suppose a computer has three CD drives and three processes. Each of the three processes holds one of the drives. If each process now requests another drive, the three processes will be in a deadlock. Each process will be waiting for the "CD drive released" event, which can be only caused by one of the other waiting processes.
My guess.. Allow me to be creative! Could we use it to enforce security? We design a system such that if certain sequence of operations are performed, there occurs a deadlock and the entities involved in the deadlock are terminated.
- Noobie August 07, 2013