Subject

    Computer Science

    Topic

    Computer Hardware

    What is a 'deadlock' in the context of computing resources?

    a)
    A hardware component that has completely failed.
    b)
    A situation where two or more processes are blocked forever, each waiting for a resource held by another process in the set.
    c)
    A security exploit that causes the system to crash.
    d)
    An infinite loop in a program.

    Explanation

    Deadlock is a classic problem in concurrency. For it to occur, four conditions must be met: mutual exclusion, hold and wait, no preemption, and circular wait. Operating systems must have strategies to prevent, avoid, or detect and recover from deadlocks.

    Find Tutors

    View all Tutors