Pergunta de entrevista da empresa MathWorks

difference between semaphore and mutex