Embedded Software Engineer Question:

Download Job Interview Questions and Answers PDF

Explain me what is spin lock?

Embedded Software Engineer Interview Question
Embedded Software Engineer Interview Question

Answer:

If a resource is locked, a thread that wants to access that resource may repetitively check whether the resource is available. During that time, the thread may loop and check the resource without doing any useful work. Suck a lock is termed as spin lock.

Download Embedded Software Engineer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me which parameters decide the size of data type for a processor?Tell me what type of scheduling is there in RTOS?