Does anyone know a concept in c that avoids deadlock using semaphores. I understand the concept of Deadlock but what I don't understand is how we incorporate the concept of deadlock to semaphores....