What are four mutex types? (also, try to explain each one)

a) Spinlock, semaphores, monitors, and mutex
b) Binary semaphore, counting semaphore, mutex, and recursive mutex
c) Semaphore, barrier, condition variable, and mutex
d) Monitor, lock, latch, and semaphore