Domanda di colloquio di Garmin

What is a mutex?

Risposte di colloquio

Anonimo

30 gen 2012

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.

5

Anonimo

14 gen 2012

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