Full-Stack Developer Question:

Download Job Interview Questions and Answers PDF

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.

Download Full-Stack Developer Interview Questions And Answers PDF

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