Full-Stack Developer Question:

Explain what is deadlock, livelock?

Full-Stack Developer Interview Question
Full-Stack Developer Interview Question

Answer:

Deadlock is a situation in which two or more competing actions are each waiting for the other to finish, and thus neither ever does. A livelock is similar to a deadlock, except that the states of the processes involved in the livelock constantly change with regard to one another, none progressing.


Previous QuestionNext Question
Tell us what is thread contention?Do you know what is a memory barrier?