Pregunta de entrevista de MathWorks

difference between semaphore and mutex