What will happen if a non-recursive mutex is locked more than once?
What will happen if a non-recursive mutex is locked more than once? Correct Answer Deadlock
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 a deadlock. It is because no other thread can unlock the mutex.
মোঃ আরিফুল ইসলাম
Feb 20, 2025