Question
What will happen if a non-recursive mutex is locked more than once ?
Answer: Option B
Was this answer helpful ?
If a thread which had already locked a mutex, tries to lock the mutex again, it will enter into the waiting list of that mutex, which results in deadlock. It is because no other thread can unlock the mutex.
Was this answer helpful ?
Submit Solution