Lock
Lock: A lock is a general term that refers to any mechanism used to synchronize access to resources among multiple threads or processes. A mutex is a specific type of lock that provides mutual exclusion. Other types of locks include read-write locks, spinlocks, and condition variables.
Backlinks