Petcube interview question

What do you know about mutex, semaphore, spin locks?