Pergunta de entrevista da empresa Veritas Technologies

what is mutex , spinlock,semaphore and their implementations.