Interview Question

Anonymous Interview Kansas City, MO

What is a mutex?

Answer

Interview Answer

2 Answers

0

I had not done much work in threading in C before, so I didn't know how to explain a thread mutex.

Interview Candidate on Jan 14, 2012
4

A Mutual exclusion, is a mechanism for syncrhonization between threads. If a thread has owned a mutex while accessing some resource, another thread waiting on the same mutex will be blocked from accessing the resource until the first thread releases the mutex.

Anonymous on Jan 30, 2012

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up